Skip to content

Commit

Permalink
Update TutorialAsync.md to use 'env' preset (jestjs#3305)
Browse files Browse the repository at this point in the history
Reduces requirements for this feature to work.
  • Loading branch information
ericnakagawa authored and cpojer committed Apr 17, 2017
1 parent 9cd3b22 commit 10d8dc0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/TutorialAsync.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ it('works with async/await', async () => {
```

To enable async/await in your project, install
[`babel-plugin-transform-async-to-generator`](http://babeljs.io/docs/plugins/transform-async-to-generator/) or
[`babel-preset-stage-3`](http://babeljs.io/docs/plugins/preset-stage-3/)
[`babel-preset-env`](http://babeljs.io/docs/plugins/preset-env/)
and enable the feature in your `.babelrc` file.

### Error handling
Expand Down

0 comments on commit 10d8dc0

Please sign in to comment.