Simple testing library with no excessive syntax.
yarn install testiz --dev
// 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