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