We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9cafd6 commit 4eedf66Copy full SHA for 4eedf66
test/integration.test.ts
@@ -91,7 +91,16 @@ describe('integration', () => {
91
throw new Error('Not implemented');
92
});
93
94
- it('fails_on_bad_init', async () => {});
+ it('fails_on_bad_init', async () => {
95
+ // Act
96
+ const response = vm.instantiate(
97
+ mockEnv,
98
+ { creator: { amount: 1000, denom: 'earth' } }, // invalid info message
99
+ { verifier, beneficiary });
100
+
101
+ // Assert
102
+ expect((response.json as { error: string }).error.indexOf('Error parsing')).toBe(0);
103
+ });
104
105
it('execute_release_works', async () => {});
106
0 commit comments