Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add more generic tests #17

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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