Skip to content

Commit

Permalink
Fixed test where we forgot to return a promise
Browse files Browse the repository at this point in the history
  • Loading branch information
sunesimonsen committed Apr 22, 2015
1 parent 1f817b4 commit 5fcf311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unexpected.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2566,7 +2566,7 @@ describe('unexpected', function () {
});

it('returns a promise that is rejected if the assertion fails', function () {
expect(clonedExpect('wat', 'to satisfy', clonedExpect.it('to be a number after a short delay')),
return expect(clonedExpect('wat', 'to satisfy', clonedExpect.it('to be a number after a short delay')),
'to be rejected',
"expected 'wat' to satisfy expect.it('to be a number after a short delay')\n" +
"\n" +
Expand Down

0 comments on commit 5fcf311

Please sign in to comment.