Tests: start reducers/auth tests

merge-requests/67/merge
Alex Gleason 2020-06-09 19:31:52 -05:00
rodzic 9da7037fcf
commit 0c1eeb9efa
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 12 dodań i 0 usunięć

Wyświetl plik

@ -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(),
}));
});
});