Skip to content

Commit

Permalink
document onFinish hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Raynos committed Dec 26, 2015
1 parent d9e0942 commit 2795763
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ don't call `t.end()` explicitly, your test will hang.

Generate a new test that will be skipped over.

## test.onFinish(fn)

The onFinish hook will get invoked when ALL tape tests have finished
right before tape is about to print the test summary.

## t.plan(n)

Declare that `n` assertions should be run. `t.end()` will be called
Expand Down

0 comments on commit 2795763

Please sign in to comment.