Base-Test-Files
Helps to translate files with Babel.js and unify them in a single script file
Table of Contents
- Installation
- Simple usage
- Documentation
Installation
npm install --save-dev base-test-files
Simple usage
const runTests =
Configure
Babel
Second parameter is the Babel.js configurator (below default configuration).
const runTests = const setTranslator = runTests
For more informations see Babel-Unifyer.
Edit test context
const runTests = const context = runTests contextwindow = contextcontextisNaN = NumberisNaNcontextMath = Math// etc...