bigbuffet-rw/app/soapbox/reducers/__tests__/auth-test.js
2020-06-09 19:31:52 -05:00

12 lines
348 B
JavaScript

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