Skip to content

Commit

Permalink
readme - document using a custom assertion module
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 8, 2015
1 parent 216600d commit a978330
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,20 @@ test.serial(function (t) {
```


### Custom assertion module

You can use any assertion module instead or in addition to the one that comes with AVA, but can't won't be able to use the `.plan()` method, [yet](https://github.com/sindresorhus/ava/issues/25).

```js
var assert = require('assert');

test(function (t) {
assert(true);
t.end();
});
```


## API

### test([name], body)
Expand Down

0 comments on commit a978330

Please sign in to comment.