Skip to content

Commit 01bc445

Browse files
author
Scott Martin
authored
Use ESM import in introductory example
1 parent 576f534 commit 01bc445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Don't forget to configure the `test` script in your `package.json` as per above.
7171
Create a file named `test.js` in the project root directory:
7272

7373
```js
74-
const test = require('ava');
74+
import test from 'ava';
7575

7676
test('foo', t => {
7777
t.pass();

0 commit comments

Comments
 (0)