Browse Source

Update AVA example

pull/2/head
Luke Childs 7 years ago
parent
commit
13753d1a9c
  1. 17
      README.md

17
README.md

@ -37,7 +37,22 @@ Some tests runners such as AVA can require packages automatically for you. If yo
},
```
You can now `require` your package in your AVA tests.
You can now `require` (or `import`) your package in your AVA tests.
e.g instead of:
```js
import test from 'ava';
import myPackage from '../';
```
You can now do:
```js
import test from 'ava';
import myPackage from 'package-name';
```
## License

Loading…
Cancel
Save