Skip to content

jstransformers/test-jstransformer

Repository files navigation

test-jstransformer

A CLI for testing JSTransformer implementations.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install test-jstransformer --save-dev

Usage

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

License

MIT