mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-14 20:41:03 +00:00
Swap Jest test runner (#719)
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user