mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-10 19:16:10 +00:00
303e44abb3
* [WIP] Start port of V3 Modal * allow lambda functions in React Components * lint code * add null case for modalRef * fix action test * reduce onboard slide boilerplate * delete images and componentize OnboardSlide * comment out info onboarding message * fix merge conflict * fix prettier error * revert tslint file * fix type in modal * add translations to onboard modal * add in images, fix stlyes
12 lines
388 B
TypeScript
12 lines
388 B
TypeScript
import { onboardStatus, INITIAL_STATE } from 'reducers/onboardStatus';
|
|
import * as onboardStatusActions from 'actions/onboardStatus';
|
|
|
|
describe('onboardStatus reducer', () => {
|
|
it('should handle START_ONBOARD_STATUS', () => {
|
|
expect(onboardStatus(undefined, onboardStatusActions.startOnboardSession())).toEqual({
|
|
...INITIAL_STATE,
|
|
sessionStarted: true
|
|
});
|
|
});
|
|
});
|