Skip to content

A plugin for Mocha to pass JS files through the Traceur transpiler

License

Notifications You must be signed in to change notification settings

domenic/mocha-traceur

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A plugin for Mocha to pass JS files through the Traceur transpiler

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%