Skip to content

Commit

Permalink
Merge pull request #17 from Itheum/d-david
Browse files Browse the repository at this point in the history
fix: add more generic tests
  • Loading branch information
newbreedofgeek authored Jan 12, 2024
2 parents eee9360 + 43c3396 commit a25e2b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('Factory test', () => {
'erd1qqqqqqqqqqqqqpgqpd9qxrq5a03jrneafmlmckmlj5zgdj55fsxsqa7jsm'
);
const tx = factory.upgradeChildContract(
addressOfDeployer, // or owner of factory contract
addressOfDeployer,
deployedMinterContract,
'1.0.0'
);
Expand Down Expand Up @@ -99,7 +99,7 @@ describe('Factory test', () => {
test('#check versions available in factory of minter contract', async () => {
const factory = new Factory('devnet');
const versions = await factory.viewVersions();
expect(versions).toEqual(['1.0.0', '2.0.0']);
expect(versions).toBeInstanceOf(Array);
});

test('#deploy minter contract', async () => {
Expand Down

0 comments on commit a25e2b4

Please sign in to comment.