UNPKG

908 BMarkdownView Raw
1[![build status](https://img.shields.io/travis/wavded/babel-tape-runner.svg?style=flat-square)](https://travis-ci.org/wavded/babel-tape-runner) [![npm package](https://img.shields.io/npm/v/babel-tape-runner.svg?style=flat-square)](https://www.npmjs.org/package/io-barcode) [![dependency status](https://img.shields.io/david/wavded/babel-tape-runner.svg?style=flat-square)](https://david-dm.org/wavded/babel-tape-runner)
2
3
4A test runner for tape that utilizes babel in order to run test suites that include ESNext/Harmony features.
5
6## install
7
8Install globally or locally (for npm scripts):
9
10```sh
11npm install babel-tape-runner [-g]
12```
13
14## usage
15
16Just run `babel-tape-runner` with the files to test (just like tape's bundled runner). Store configuration in a `.babelrc` file.
17
18```sh
19babel-tape-runner my-es-next-test.js
20
21babel-tape-runner lib/**/__tests__/*-test.js # or glob patterns
22```
23
24## licence
25
26MIT