mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23:28:02 +00:00
Add a bit more clarification
This commit is contained in:
@@ -13,4 +13,7 @@ $ mocha --compilers js:babel-core/register path/to/specs/*.spec.js
|
|||||||
If you already have a test command specified in your `package.json` file,
|
If you already have a test command specified in your `package.json` file,
|
||||||
you can update it with the `--compile` portion of the above command.
|
you can update it with the `--compile` portion of the above command.
|
||||||
|
|
||||||
|
This all assumes you've already setup your project with Babel and Babel
|
||||||
|
presets.
|
||||||
|
|
||||||
[source](http://jamesknelson.com/testing-in-es6-with-mocha-and-babel-6/)
|
[source](http://jamesknelson.com/testing-in-es6-with-mocha-and-babel-6/)
|
||||||
|
|||||||
Reference in New Issue
Block a user