mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Migrate from karma+mocha to jest
This commit is contained in:
@@ -53,7 +53,7 @@ describe('RecoverPasswordState', () => {
|
||||
mock,
|
||||
'recoverPassword',
|
||||
sinon.match(expectedPayload)
|
||||
).returns(Promise.resolve());
|
||||
).returns(new Promise(() => {}));
|
||||
|
||||
state.resolve(context, expectedPayload);
|
||||
});
|
||||
|
Reference in New Issue
Block a user