1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Add a bit more clarification

This commit is contained in:
jbranchaud
2016-03-31 20:16:56 -05:00
parent 278dc302ea
commit b9ade4ddf3

View File

@@ -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,
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/)