Skip to content

Commit a978330

Browse files
committed
readme - document using a custom assertion module
#25
1 parent 216600d commit a978330

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

readme.md

+14
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,20 @@ test.serial(function (t) {
165165
```
166166

167167

168+
### Custom assertion module
169+
170+
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).
171+
172+
```js
173+
var assert = require('assert');
174+
175+
test(function (t) {
176+
assert(true);
177+
t.end();
178+
});
179+
```
180+
181+
168182
## API
169183

170184
### test([name], body)

0 commit comments

Comments
 (0)