Tests: start reducers/auth tests

merge-requests/67/merge
Alex Gleason 4 years ago
parent 9da7037fcf
commit 0c1eeb9efa
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -0,0 +1,12 @@
import reducer from '../auth';
import { Map as ImmutableMap, List as ImmutableList } from 'immutable';
describe('auth reducer', () => {
it('should return the initial state', () => {
expect(reducer(undefined, {})).toEqual(ImmutableMap({
app: ImmutableMap(),
user: ImmutableMap(),
tokens: ImmutableList(),
}));
});
});
Loading…
Cancel
Save