pleroma/packages/pl-fe/src/reducers/settings.test.ts
marcin mikołajczak 4d5690d0c1 Switch to workspace
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-28 13:01:08 +02:00

11 lines
273 B
TypeScript

import { Map as ImmutableMap } from 'immutable';
import reducer from './settings';
describe('settings reducer', () => {
it('should return the initial state', () => {
expect(reducer(undefined, {} as any)).toEqual(ImmutableMap({
saved: true,
}));
});
});