Skip to content

Commit 7428205

Browse files
committed
chore: test update
1 parent 1440cc7 commit 7428205

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ui/store/actions.test.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2922,9 +2922,7 @@ describe('Actions', () => {
29222922
discoveredAccounts: { bitcoin: 2, solana: 1 },
29232923
};
29242924

2925-
const importMnemonicToVaultStub = sinon
2926-
.stub()
2927-
.callsFake((_, cb) => cb(null, mockResult));
2925+
const importMnemonicToVaultStub = sinon.stub().resolves(mockResult);
29282926

29292927
background.getApi.returns({
29302928
importMnemonicToVault: importMnemonicToVaultStub,

0 commit comments

Comments
 (0)