diff --git a/app/soapbox/reducers/__tests__/auth-test.js b/app/soapbox/reducers/__tests__/auth-test.js new file mode 100644 index 000000000..1eeece858 --- /dev/null +++ b/app/soapbox/reducers/__tests__/auth-test.js @@ -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(), + })); + }); +});