tapef

0.0.1 • Public • Published

tapef

Tape bred uncermoniously with Mocha. Literally Mocha's reporter hacked into Tape.

The way I use this is to drop it in temporarily as a debugging tool when comparing big objects or strings, then switch back to vanilla Tape when I'm done.

Caveats

Doesn't play well alongside other Tape tests just yet.

Usage

Just replace require('tape') with require('tapef').

var test = require('tapef')

// Exactly the same api as Tape.
test('equal numbers', function(t) {
  t.equal(1, 2)
  t.end()
})

test('equal string', function(t) {
  var a = 'apple'
  var b = 'banana'
  t.equal(a, b)
  t.end()
})

// etc

Output

image

image

image

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i tapef

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • timoxley