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

20 lines
379 B
JavaScript
Raw Normal View History

2024-04-01 10:50:37 -04:00
/** @implements TapRenderer */
class FakeRenderer {
output = "nothing yet";
commentOutput = "";
2024-04-01 10:50:37 -04:00
out(text) {
this.output = text;
}
comment(lines) {
2024-04-01 10:50:37 -04:00
for (var line of lines) {
this.commentOutput += line;
2024-04-01 10:50:37 -04:00
}
}
}
2024-04-02 19:41:50 -04:00
import('./suite.mjs').then(m => {
m.runTest(m.Tap.Node(), "Tap dogfood test suite", m.tapSuite);
});