import { authReducer } from './auth.reducer' ; import { authInitialState } from './auth.state' ; describe ( 'Auth Reducer' , ( ) => { describe ( 'an unknown action' , ( ) => { it ( 'should return the previous state' , ( ) => { const action = { } as any ; const result = authReducer ( authInitialState , action ) ; expect ( result ) . toBe ( authInitialState ) ; } ) ; } ) ; } ) ;