Minimal test runner β open DevTools console to see results
π‘ URL params: ?grep=pattern ?mute ?bail ?format=tap
π‘ Node env: TST_GREP=pattern TST_MUTE=1 TST_BAIL=1 TST_FORMAT=tap
ok(value) β value is truthyis(a, b) β a equals b (deep)not(a, b) β a differs from bsame(a, b) β arrays have same itemsany(val, list) β value is in listthrows(fn, match?) β function throwsrejects(fn, match?) β async fn rejectsalmost(a, b, eps?) β floats are closetest(name, t => {}) β define a testtest.skip(name, t => {}) β skip this testtest.only(name, t => {}) β run exclusivelytest.todo(name, t?) β mark as plannedtest.mute(name, t => {}) β suppress outputtest.demo(name, t => {}) β ignore failurestest.fork(name, t => {}) β run in workertest.run({ timeout, ... }) β manually run