10000 Remove reference to enhanced assertion messages · avajs/ava@51d2a51 · GitHub
[go: up one dir, main page]

Skip to content

Commit 51d2a51

Browse files
authored
Remove reference to enhanced assertion messages
This has been removed in AVA 4.
1 parent 18c04f9 commit 51d2a51

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/01-writing-tests.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ AVA will set `process.env.NODE_ENV` to `test`, unless the `NODE_ENV` environment
1818

1919
To declare a test you call the `test` function you imported from AVA. Provide the required title and implementation function. Titles must be unique within each test file. The function will be called when your test is run. It's passed an [execution object](./02-execution-context.md) as its first argument.
2020

21-
**Note:** In order for the [enhanced assertion messages](./03-assertions.md#enhanced-assertion-messages) to behave correctly, the first argument **must** be named `t`.
22-
2321
```js
2422
const test = require('ava');
2523

0 commit comments

Comments
 (0)
0