Test and view output on runkit.com
test(tests)
where tests
is of the form:
{
'testname': (tap) => {/* tap statements */; tap.end();}
}
const test = require('runkit-tap');
// This returns an object that Runkit can render
await test({
'equality': t => {
t.equal(1, 1, 'equal');
t.end();
}
});
MIT © 2017 Marc Farra