react-templates compiler for mocha test framework.
npm install --save-dev mocha-react-templates-compiler
mocha --compilers rt:mocha-react-templates-compiler
You can use different values for react-templates' module
flag by:
mocha --compilers rt:mocha-react-templates-compiler/dist/{amd,commonjs,es6}
Defaults to es6
.
- Updated to work with the latest
react-template
version.
- Important bugfixes.
-
Adds the possibility of using different
modules
flag for react-templates. -
Updates dependencies. It now depends on
react-templates@^0.4.0
,babel-core@^6.0.0
andbabel-preset-es2015@^6.0.0
.
- Initial release 🎉
enjoy