Skip to content

Commit

Permalink
unchain promises
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdschwrtz committed Nov 12, 2017
1 parent ae6c511 commit d889b9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions __tests__/components/Claim.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ describe('Claim', () => {
})
wrapper.dive().find('#claim button').simulate('click')

await Promise.resolve()
await Promise.resolve()
await Promise.resolve()
await Promise.resolve().then().then().then()
const actions = store.getActions()
expect(actions.length).toEqual(2)
expect(actions[0]).toEqual({
Expand Down

0 comments on commit d889b9c

Please sign in to comment.