mocha-traceur

2018-12-07 admin

mocha-traceur是什么

什么是mocha-traceur,A "compiler" plugin for Mocha that makes non-dependency JS files to pass through Traceur

mocha-traceur使用教程帮助文档

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

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-47496.html

文章标题:mocha-traceur

回到顶部