test-tap/tests/01_tap.t.js

9 lines
324 B
JavaScript
Raw Normal View History

2024-04-03 17:47:01 -04:00
import { Tap, runTest } from '../src/Tap.mjs';
import { tapSuite } from './suite.mjs';
2024-04-01 10:50:37 -04:00
2024-04-03 17:47:01 -04:00
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);