|
|
@ -3,9 +3,7 @@ import reducer from '../dropdown-menu';
|
|
|
|
describe('dropdown_menu reducer', () => {
|
|
|
|
describe('dropdown_menu reducer', () => {
|
|
|
|
it('should return the initial state', () => {
|
|
|
|
it('should return the initial state', () => {
|
|
|
|
expect(reducer(undefined, {} as any).toJS()).toEqual({
|
|
|
|
expect(reducer(undefined, {} as any).toJS()).toEqual({
|
|
|
|
openId: null,
|
|
|
|
isOpen: false,
|
|
|
|
placement: null,
|
|
|
|
|
|
|
|
keyboard: false,
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|