Add test for AUTH_REQUESTED

pull/1265/head
Jared Scheib 2017-04-17 12:19:51 -07:00
parent fa8d76f829
commit 8acbc267b9
1 changed files with 6 additions and 0 deletions

View File

@ -37,4 +37,10 @@ describe('Shared.Reducers.authReducer', () => {
expect(reducedState.isMeLoading).to.equal(false)
expect(reducedState.isAuthLoading).to.equal(false)
})
it('should handle AUTH_REQUESTED', () => {
const reducedState = authReducer(initialState, authRequested())
expect(reducedState.isAuthLoading).to.equal(true)
})
})