UNPKG

taper

Version:

Taper (a fork of tapr) is a tap test runner that shows an appropriate level of detail with colorized output.

36 lines (33 loc) 1.2 kB
# test 1 ok 1 should be equal ok 2 should be equal # test 2 not ok 3 Error: This is an error type: Error message: This is an error code: EINVAL errno: ~ file: /node/taper/test/throws.js line: 10 column: 9 stack: - Test.<anonymous> (/node/taper/test/throws.js:10:9) - Test.emit (events.js:117:20) - Test.emit (/node/taper/node_modules/tap/lib/tap-test.js:103:8) - GlobalHarness.Harness.process (/node/taper/node_modules/tap/lib/tap-harness.js:86:13) - process._tickCallback (node.js:419:13) - Function.Module.runMain (module.js:499:11) - startup (node.js:119:16) - node.js:906:3 thrown: true ... Error thrown: Error "This is an error" code: EINVAL, errno: null  Test.<anonymous> (/node/taper/test/throws.js:10:9) Test.emit (events.js:117:20) Test.emit (/node/taper/node_modules/tap/lib/tap-test.js:103:8) GlobalHarness.Harness.process (/node/taper/node_modules/tap/lib/tap-harness.js:86:13) process._tickCallback (node.js:419:13) Function.Module.runMain (module.js:499:11) startup (node.js:119:16) node.js:906:3