babel-tape-runner
Babel + Tape for running your ES Next tests
Last updated a year ago by wavded .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-tape-runner 
SYNC missed versions from official npm registry.

build status npm package dependency status

Using Babel 7: Use ^3.0.0
Using Babel 6: Use ^2.0.0
Using Babel 5: Use ^1.0.0

A test runner for tape that utilizes babel in order to run test suites that include ESNext/Harmony features.

install

Install globally or locally (for npm scripts):

npm install babel-tape-runner [-g]

usage

Just run babel-tape-runner with the files to test (just like tape's bundled runner). Store configuration in a .babelrc file.

babel-tape-runner my-es-next-test.js

babel-tape-runner lib/**/__tests__/*-test.js # or glob patterns

For example, use this in your package.json file so you can run npm test to execute your tests:

{
    "scripts": {
        "test": "babel-tape-runner \"lib/**/__tests__/*-test.js\" | faucet"
    },
    ""
}

licence

MIT

Current Tags

  • 3.0.0                                ...           latest (a year ago)

8 Versions

  • 3.0.0                                ...           a year ago
  • 2.0.1                                ...           4 years ago
  • 1.3.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.3.0 [deprecated]           ...           4 years ago
  • 1.2.0                                ...           5 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago

Copyright 2014 - 2016 © taobao.org |