tape-standalone
v4.4.0
Published
Standalone (browserfied) verson of tape.js test runner
Maintainers
Readme
tape standalone version
For use with browser loaders like System.js
or Steal.js or event just using script tag.
This is just a browserified version made with command:
browserify node_modules/tape -o tape.js -s testSo it is a UMD module that exports test
example
So with System.js/Steal.js you can do:
var test = require('tape-standalone')
// Or even just:
// var test = require('tape') // with proper mapping - works with Steal.js without config
require('tap-browser-color')()
test('Something', t => {
t.ok(1 === 1)
t.end()
})install
npm install tape-standalone --save-devCurrent version bundled: 4.4.0 (package.json version matches tape.js version)
license
ISC
