Skip to content

Commit

Permalink
fix(test): UpgradeAPI and WasmAPI (GovAPI WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
inon-man committed Jul 21, 2024
1 parent eb30473 commit 38bfb66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/client/lcd/api/UpgradeAPI.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ describe('UpgradeAPI', () => {
});

describe('node_versions', () => {
it('module count', async () => {
expect(await upgrade.moduleVersions()).toHaveLength(26);
it('name & version', async () => {
expect((await upgrade.moduleVersions())[0]).toMatchObject({
name: expect.any(String),
version: expect.any(Number),
});
});
});
});
1 change: 0 additions & 1 deletion src/client/lcd/api/WasmAPI.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ describe('WasmAPI', () => {
'325A94095F5D98B816AB5192C7771B43D9E45800846B5F2CC96B92E5F3492D45',
instantiate_permission: {
permission: 3,
address: '',
},
});
});
Expand Down

0 comments on commit 38bfb66

Please sign in to comment.