Skip to content

Commit 2ab67c8

Browse files
committed
Merge pull request #134 from michaelrhodes/patch/readme
Add section about uncaught exceptions to readme.
2 parents d2afc96 + 3bbfec1 commit 2ab67c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

readme.markdown

+4
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ that will output something pretty if you pipe TAP into them:
6666
To use them, try `node test/index.js | tap-spec` or pipe it into one
6767
of the modules of your choice!
6868

69+
# uncaught exceptions
70+
71+
By default, uncaught exceptions in your tests will not be intercepted, and will cause tape to crash. If you find this behavior undesirable, use [tape-catch](https://github.com/michaelrhodes/tape-catch) to report any exceptions as TAP errors.
72+
6973
# methods
7074

7175
The assertion methods in tape are heavily influenced or copied from the methods

0 commit comments

Comments
 (0)