mirror of
https://github.com/zaphar/test-tap.git
synced 2025-07-21 20:19:49 -04:00
9 lines
324 B
JavaScript
9 lines
324 B
JavaScript
import { Tap, runTest } from '../src/Tap.mjs';
|
|
import { tapSuite } from './suite.mjs';
|
|
|
|
const pair = Tap.Node();
|
|
runTest(pair.Tap, "Tap dogfood test suite", tapSuite);
|
|
// Note output requires some async machinery because it uses some dynamic inputs.
|
|
await pair.Renderer.renderAll();
|
|
process.exit(pair.Tap.isPass() ? 0 : 1);
|