mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-17 06:31:22 +00:00
780f3ba94f
* balance fetching * fix tests * bump deps * validate custom token form * equiv values * fix rates saga naming * address review comments
15 lines
513 B
JavaScript
15 lines
513 B
JavaScript
// break dep cycle, we have to fix it for good somehow
|
|
import translate from 'translations';
|
|
import { unlockPrivateKey } from 'sagas/wallet';
|
|
|
|
describe('Wallet saga', () => {
|
|
it('Should show error notification on decryption failure', () => {
|
|
const gen = unlockPrivateKey({
|
|
key: '0000000000000000000000000000000000000000000000000000000000000000'
|
|
});
|
|
// FIXME fragile
|
|
expect(gen.next().value.PUT.action.type).toEqual('SHOW_NOTIFICATION');
|
|
expect(gen.next().done).toBeTruthy();
|
|
});
|
|
});
|