pleroma/app/soapbox/reducers/__tests__/dropdown-menu.test.ts

12 lines
274 B
TypeScript
Raw Normal View History

2022-11-15 12:39:43 -08:00
import reducer from '../dropdown-menu';
2020-06-09 18:08:07 -07:00
describe('dropdown_menu reducer', () => {
it('should return the initial state', () => {
expect(reducer(undefined, {} as any).toJS()).toEqual({
2020-06-09 18:08:07 -07:00
openId: null,
placement: null,
keyboard: false,
});
2020-06-09 18:08:07 -07:00
});
});