jkrems / babel-tap

tap with babel and promise support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

tap with babel and promise support

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 100.0%