Swap Jest test runner (#719)

This commit is contained in:
Jaco authored and GitHub committed 2023-02-20 12:42:11 +02:00
1 parent c488094732
commit e83da1449d
8 files changed
+19 -36

No files matched your search

@@ -15,8 +15,8 @@ describe('KeyringOption', (): void => {
keyringOption.init(state as KeyringStruct);
// second call
expect((): void => {
keyringOption.init(state as KeyringStruct);
}).toThrowError('Unable to initialise options more than once');
expect(
() => keyringOption.init(state as KeyringStruct)
).toThrow('Unable to initialise options more than once');
});
});