Skip to content

Commit

Permalink
Think I found that unhandled promise..
Browse files Browse the repository at this point in the history
  • Loading branch information
elboletaire committed Nov 15, 2018
1 parent 18b2f21 commit 89d661f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/worker/ActionCreator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ describe('ActionCreator', () => {
const actionCreator = new ActionCreator(rabbit, event)
actionCreator.createHandler()

expect(actionCreator.executeActions(msg)).resolves.toBeFalsy()
expect.assertions(1)
return expect(actionCreator.executeActions(msg)).resolves.toBeFalsy()
})

it('should handle coming events', () => {
Expand Down

0 comments on commit 89d661f

Please sign in to comment.