2022-01-10 14:01:24 -08:00
|
|
|
import reducer from '../trends';
|
2020-06-09 18:08:07 -07:00
|
|
|
|
|
|
|
describe('trends reducer', () => {
|
|
|
|
it('should return the initial state', () => {
|
2022-07-06 09:53:55 -07:00
|
|
|
expect(reducer(undefined, {} as any).toJS()).toEqual({
|
2022-06-07 09:25:53 -07:00
|
|
|
items: [],
|
2022-05-17 08:37:16 -07:00
|
|
|
isLoading: false,
|
2022-06-07 09:25:53 -07:00
|
|
|
});
|
2020-06-09 18:08:07 -07:00
|
|
|
});
|
|
|
|
});
|