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

1.0.0 • Public • Published

Test Assertions

NPM version

Provides a set of assertion methods compatible with the built-in assert module usable in both Node.js and the browser.

Synopsis

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

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

Installation

You can install the assertion library using your favourite Node.js package manager:

npm i -D tehanu-teas
yarn add -D tehanu-teas
pnpm i -D tehanu-teas

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i tehanu-teas

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    118 kB

    Total Files

    14

    Last publish

    Collaborators

    • prantlf