Skip to content

Commit

Permalink
remove mention of using node test.js #98
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Oct 24, 2015
1 parent 0f486d2 commit 4a0aa8c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ Files starting with `_` are ignored. This can be useful for having helpers in th

## Documentation

Test files are just normal Node.js scripts and can be run with `$ node test.js`. However, using the CLI is preferred for simplicity, ES2015 support, parallelism, etc.

Tests are run async and require you to either set planned assertions `t.plan(1)`, explicitly end the test when done `t.end()`, or return a promise.

You have to define all tests synchronously, meaning you can't define a test in the next tick, e.g. inside a `setTimeout`.
Expand Down

0 comments on commit 4a0aa8c

Please sign in to comment.