9 lines
229 B
TypeScript
9 lines
229 B
TypeScript
import reducer from '../dropdown-menu';
|
|
|
|
describe('dropdown_menu reducer', () => {
|
|
it('should return the initial state', () => {
|
|
expect(reducer(undefined, {} as any).toJS()).toEqual({
|
|
isOpen: false,
|
|
});
|
|
});
|
|
});
|