Skip to content

Commit

Permalink
[compile-contact-summary] make sure test fails when it should
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Dec 7, 2018
1 parent aa633e1 commit f8ddb6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/lib/compile-contact-summary.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ describe('compile-contact-summary', function() {
assert.fail('Expected error to be thrown.');

} catch(e) {
// expected :¬)
if(e.name === 'AssertionError') throw e;
// else expected :¬)
}
});

Expand Down

0 comments on commit f8ddb6c

Please sign in to comment.