Skip to content

Commit

Permalink
Fix require path in Babel recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHechenberger authored and novemberborn committed May 5, 2019
1 parent 05f925f commit 2762d3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/recipes/babel.md
Expand Up @@ -190,15 +190,15 @@ require('@babel/register')({
});
```

Now instead of requiring `@babel/register`, require `test/_register` instead.
Now instead of requiring `@babel/register`, require `./test/_register` instead.

**`package.json`:**

```json
{
"ava": {
"require": [
"test/_register.js"
"./test/_register.js"
]
}
}
Expand Down

0 comments on commit 2762d3c

Please sign in to comment.