Content-Length: 283416 | pFad | https://github.com/avajs/ava/commit/841526144eb5529d057cb8b390a0b3bad0dda5eb
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c749348 commit 8415261Copy full SHA for 8415261
readme.md
@@ -45,11 +45,12 @@ Your `package.json` will then look like this (exact version notwithstanding):
45
```json
46
{
47
"name": "awesome-package",
48
+ "type": "module",
49
"scripts": {
50
"test": "ava"
51
},
52
"devDependencies": {
- "ava": "^1.0.0"
53
+ "ava": "^5.0.0"
54
}
55
56
```
@@ -72,7 +73,9 @@ Don't forget to configure the `test` script in your `package.json` as per above.
72
73
74
### Create your test file
75
-Create a file named `test.js` in the project root directory:
76
+Create a file named `test.js` in the project root directory.
77
+
78
+_Note that AVA's documentation assumes you're using ES modules._
79
80
```js
81
import test from 'ava';
Fetched URL: https://github.com/avajs/ava/commit/841526144eb5529d057cb8b390a0b3bad0dda5eb
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments