bigbuffet-rw/app/soapbox/reducers/__tests__/settings.test.ts

12 lines
274 B
TypeScript
Raw Normal View History

2020-06-09 18:08:07 -07:00
import { Map as ImmutableMap } from 'immutable';
2022-01-10 14:01:24 -08:00
import reducer from '../settings';
2020-06-09 18:08:07 -07:00
describe('settings reducer', () => {
it('should return the initial state', () => {
2022-07-06 09:53:55 -07:00
expect(reducer(undefined, {} as any)).toEqual(ImmutableMap({
2020-06-09 18:08:07 -07:00
saved: true,
}));
});
});