Skip to content

Commit 8415261

Browse files
authored
State that documentation assumes ES modules
(And update the sample version number because why not.)
1 parent c749348 commit 8415261

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

readme.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,12 @@ Your `package.json` will then look like this (exact version notwithstanding):
4545
```json
4646
{
4747
"name": "awesome-package",
48+
"type": "module",
4849
"scripts": {
4950
"test": "ava"
5051
},
5152
"devDependencies": {
52-
"ava": "^1.0.0"
53+
"ava": "^5.0.0"
5354
}
5455
}
5556
```
@@ -72,7 +73,9 @@ Don't forget to configure the `test` script in your `package.json` as per above.
7273

7374
### Create your test file
7475

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._
7679

7780
```js
7881
import test from 'ava';

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy