Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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.

install

npm i babel-tap

Downloadsweekly downloads

73

version

5.0.0

license

BSD-3-Clause

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability