@cankode/test-event-bus
v0.0.2
Published
test-utils
Downloads
7
Readme
@cankode/tester
wip
Write tests to be run via @cankode/test-runner-browser
and/or @cankode/test-runner-node
.
import { describe, assert } from '@cankode/tester';
describe('A', test => {
test.describe('AA', test => {
test.it('something is true', () => {
assert(true === true);
});
test.it('something is false', () => {
assert(true === false); // will fail
});
});
});
Note: built-in assert is dead-simple boolean asserter. Bring your own if you want something more powerfull.