mirror of
https://github.com/zaphar/test-tap.git
synced 2025-07-21 20:19:49 -04:00
20 lines
379 B
JavaScript
20 lines
379 B
JavaScript
/** @implements TapRenderer */
|
|
class FakeRenderer {
|
|
output = "nothing yet";
|
|
commentOutput = "";
|
|
|
|
out(text) {
|
|
this.output = text;
|
|
}
|
|
|
|
comment(lines) {
|
|
for (var line of lines) {
|
|
this.commentOutput += line;
|
|
}
|
|
}
|
|
}
|
|
|
|
import('./suite.mjs').then(m => {
|
|
m.runTest(m.Tap.Node(), "Tap dogfood test suite", m.tapSuite);
|
|
});
|