Socket
Book a DemoInstallSign in
Socket

mocha-traceur

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha-traceur

A "compiler" plugin for Mocha that makes non-dependency JS files to pass through Traceur

latest
Source
npmnpm
Version
2.1.0
Version published
Maintainers
2
Created
Source

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

Keywords

mocha

FAQs

Package last updated on 19 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts