testiz

1.0.7 • Public • Published

Simple testing library with no excessive syntax.

Install

yarn install testiz --dev

Usage

// node
// const { log, ok, is, not } = require('testiz');

// browser
import { log, ok, is, not } from 'testiz/browser';


function tests() {
  log('passing tests');
  ok('true is ok', true);
  is('three is three', 3, 3);
  not('three is not four', 3, 4);

  log('failing tests');
  is('three is two', 3, 2);
  ok('null is ok', null);
}

tests();
# testiz

Readme

Keywords

none

Package Sidebar

Install

npm i testiz

Weekly Downloads

0

Version

1.0.7

License

MIT

Unpacked Size

12.2 kB

Total Files

13

Last publish

Collaborators

  • eguneys