mocha-traceur

2.1.0 • Public • Published

Mocha Traceur

A simple plugin for Mocha to pass JS files through the Traceur 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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.0
    11
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.1.0
    11
  • 2.0.0
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i mocha-traceur

Weekly Downloads

12

Version

2.1.0

License

MIT

Last publish

Collaborators

  • tucksen
  • domenic