Skip to content

Commit

Permalink
feat: make mocha fail if it encounters 0 tests (#5981)
Browse files Browse the repository at this point in the history
  • Loading branch information
maribethb committed Mar 17, 2022
1 parent 1647a32 commit 0b2bf3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/mocha/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
<script src="../../node_modules/sinon/pkg/sinon.js"></script>
<script>
mocha.setup({
ui: 'tdd'
ui: 'tdd',
failZero: true,
});
</script>

Expand Down

0 comments on commit 0b2bf3a

Please sign in to comment.