A CLI for testing JSTransformer implementations.
npm install test-jstransformer --save-dev
In your package.json add:
{
"scripts": {
"coverage": "test-jstransformer coverage",
"test": "test-jstransformer"
}
}
Then copy either example/simple or example/multi into a folder called "test" in your jstransformer's repo.
You can then run tests using:
npm test
and generate coverage using:
npm run coverage
MIT