Skip to content

Commit

Permalink
test(SFOX): amend upload test and reducer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Jul 20, 2018
1 parent b8ead19 commit bd7722c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ const INITIAL_STATE = {
sfoxBusy: Remote.NotAsked,
qaSellAddress: null,
siftScienceEnabled: false,
payment: Remote.NotAsked
payment: Remote.NotAsked,
jumioToken: Remote.NotAsked,
jumioStatus: Remote.NotAsked
}

describe('sfox reducers', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ describe('sfoxSagas', () => {
it('should go to funding if no required docs', () => {
const profile = { data: { verificationStatus: { required_docs: [] } } }

saga.next(profile).put(sfoxActions.nextStep('funding'))
saga.next(profile).put(sfoxActions.nextStep('jumio'))
})
it('should handle errors', () => {
const error = new Error()
Expand Down

0 comments on commit bd7722c

Please sign in to comment.