pleroma/packages/pl-fe/src/reducers/settings.test.ts

12 lines
273 B
TypeScript
Raw Normal View History

2020-06-09 18:08:07 -07:00
import { Map as ImmutableMap } from 'immutable';
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,
}));
});
});