Skip to content

Commit

Permalink
followup to #333
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Dec 22, 2015
1 parent 9e6d972 commit 52d2a7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"arr-flatten": "^1.0.1",
"arrify": "^1.0.0",
"ava-init": "^0.1.0",
"babel-core": "^6.3.17",
"babel-core": "^6.3.21",
"babel-plugin-espower": "^2.0.0",
"babel-plugin-transform-runtime": "^6.3.13",
"babel-preset-es2015": "^6.3.13",
Expand All @@ -97,7 +97,6 @@
"figures": "^1.4.0",
"fn-name": "^2.0.0",
"globby": "^4.0.0",
"has-generator": "^1.0.0",
"is-generator-fn": "^1.0.0",
"is-observable": "^0.1.0",
"is-promise": "^2.1.0",
Expand Down
12 changes: 1 addition & 11 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,17 +358,7 @@ test(t => {

### ES2015 support

AVA comes with builtin support for ES2015 through [Babel](https://babeljs.io).

Just write your tests in ES2015. No extra setup needed.

```js
test(t => {
t.pass();
});
```

We don't yet [support Babel 6](https://github.com/sindresorhus/ava/pull/221), but you can use any Babel version in your project. We use our own bundled one.
AVA comes with builtin support for ES2015 through [Babel 6](https://babeljs.io). Just write your tests in ES2015. No extra setup needed. You can use any Babel version in your project. We use our own bundled Babel with the [`es2015`](http://babeljs.io/docs/plugins/preset-es2015/) and [`stage-2`](http://babeljs.io/docs/plugins/preset-stage-2/) presets.

#### Transpiling Imported Modules

Expand Down

0 comments on commit 52d2a7a

Please sign in to comment.