babel-tap

5.0.0 • Public • Published

babel-tap

Like babel-node but for tap. So you can turn this:

babel-node node_modules/.bin/tap 'test/**/*.js'

Into this:

babel-tap 'test/**/*.js'

Usage

import {test} from 'babel-tap';
 
test('my test', async t => {
  t.equal(await fs.readFileAsync('package.json', 'utf8'), '{}');
});

The CLI command has the exact same arguments tap has and the export has the exact same interface as tap.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 5.0.0
    7
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 5.0.0
    7
  • 4.0.0
    0
  • 3.0.1
    0
  • 3.0.0
    0

Package Sidebar

Install

npm i babel-tap

Weekly Downloads

7

Version

5.0.0

License

BSD-3-Clause

Last publish

Collaborators

  • jkrems