Skip to content

Commit

Permalink
test: test params
Browse files Browse the repository at this point in the history
  • Loading branch information
phamphong9981 committed Aug 15, 2023
1 parent 544e6c1 commit 074a04c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/unit/services/api-gateways/cw721_admin.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,18 @@ export default class Cw721AdminTest {
type: 'all',
});
} finally {
expect(spy).toHaveBeenCalledTimes(5);
// eslint-disable-next-line no-empty
}
expect(spy).toHaveBeenCalledTimes(5);
try {
await this.broker.call('v1.cw721-admin.cw721Reindexing', {
chainid: 'euphoria-2',
contractAddress: ['abc', 'xyz'],
type: 'all',
});
} finally {
expect(spy).toHaveBeenCalledTimes(7);
// eslint-disable-next-line no-empty
}
expect(spy).toHaveBeenCalledTimes(7);
}
}

0 comments on commit 074a04c

Please sign in to comment.