import { initialNotificationState, notificationReducer, NotificationState } from './notification.reducer'; describe('Notification Reducer', () => { const initialState: NotificationState = Object.assign({}, initialNotificationState); describe('an unknown action', () => { it('should return the previous state', () => { const action = {} as any; const result = notificationReducer(initialState, action); expect(result).toBe(initialState); }); }); });