tehanu-repo-tape
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

TAP Test Reporter

NPM version

Reports the test progress of tests written with tehanu on the console using the TAP protocol format.

Any output formatter consuming TAP can be used to re-format or otherwise process the printed output.

Synopsis

TAP reporter

test.js:

const test = require('tehanu')('sum'),
      { equal } = require('assert'),
      sum = require('./sum')

test('two numbers', () => equal(sum(1, 2), 3))
test('one number', () => equal(sum(1), 1))

Installation

You can install the test reporter using your favourite Node.js package manager:

npm i -D tehanu-repo-tape
yarn add -D tehanu-repo-tape
pnpm i -D tehanu-repo-tape

Package Sidebar

Install

npm i tehanu-repo-tape

Weekly Downloads

12

Version

1.0.1

License

MIT

Unpacked Size

20.4 kB

Total Files

14

Last publish

Collaborators

  • prantlf