Swap Jest test runner (#719)

This commit is contained in:
Jaco
2023-02-20 12:42:11 +02:00
committed by GitHub
parent c488094732
commit e83da1449d
8 changed files with 19 additions and 36 deletions
@@ -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');
});
});