Skip to content

Commit bb231c5

Browse files
author
SeungMin Lee
committed
Resolve UnhandledRejectionWarning in e2e tests
1 parent 408c024 commit bb231c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/src/e2e/changeParams.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ describe("ChangeParams", function() {
123123
).be.true;
124124
}
125125
try {
126-
await expect(node.sendPayTx({ fee: 10 }));
126+
await node.sendPayTx({ fee: 10 });
127+
expect.fail();
127128
} catch (e) {
128129
expect(e.toString()).is.include(
129130
ERROR.ACTION_DATA_HANDLER_NOT_FOUND

0 commit comments

Comments
 (0)