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 Aug 28, 2015
1 parent 97add1f commit 3deba51
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 3deba51

Please sign in to comment.