Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/domenic/mocha-traceur
A plugin for Mocha to pass JS files through the Traceur transpiler
https://github.com/domenic/mocha-traceur
Last synced: about 2 months ago
JSON representation
A plugin for Mocha to pass JS files through the Traceur transpiler
- Host: GitHub
- URL: https://github.com/domenic/mocha-traceur
- Owner: domenic
- License: other
- Fork: true (tucksen/mocha-traceur)
- Created: 2014-07-06T07:42:32.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-19T04:04:14.000Z (over 7 years ago)
- Last Synced: 2024-11-14T10:43:46.568Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 137 KB
- Stars: 14
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- es6-tools - Mocha Traceur - A simple plugin for Mocha to pass JS files through the Traceur compiler (Mocha plugins / Brunch Plugins)
README
# Mocha Traceur
A simple plugin for [Mocha](https://visionmedia.github.io/mocha/) to pass JS files through the [Traceur](https://github.com/google/traceur-compiler) compiler. Note that dependencies of your project (i.e., files that include `node_modules` in their file path) will not be transpiled.
Traceur is intentionally not included in this package so you can install your preferred version alongside Mocha Traceur.
Use with Mocha from the command line like so:
mocha --compilers js:mocha-traceur my_test_dir/*.js