runkit-tap

0.2.2 • Public • Published

✅ runkit-tap

Test and view output on runkit.com

Runkit API

test(tests) where tests is of the form:

{
  'testname': (tap) => {/* tap statements */; tap.end();}
}

For example:

const test = require('runkit-tap');
 
// This returns an object that Runkit can render
await test({
  'equality': t => {
      t.equal(1, 1, 'equal');
      t.end();
  }
});

License

MIT © 2017 Marc Farra

Readme

Keywords

none

Package Sidebar

Install

npm i runkit-tap

Weekly Downloads

0

Version

0.2.2

License

MIT

Last publish

Collaborators

  • kamicut