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 throwsalmost(a, b, eps?) — floats are closetest(name, fn) — define a testtest.skip(name, fn) — skip this testtest.only(name, fn) — run exclusivelytest.todo(name, fn?) — mark as plannedtest.mute(name, fn) — suppress outputtest.demo(name, fn) — ignore failurestest.run({ timeout, ...options }) — manually run tests