Skip to content

Commit

Permalink
Use ESM import in introductory example
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdotweb authored Feb 22, 2022
1 parent 576f534 commit 01bc445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Don't forget to configure the `test` script in your `package.json` as per above.
Create a file named `test.js` in the project root directory:

```js
const test = require('ava');
import test from 'ava';

test('foo', t => {
t.pass();
Expand Down

0 comments on commit 01bc445

Please sign in to comment.