test_runner: add reporters

PR-URL: https://github.com/nodejs/node/pull/45712
Backport-PR-URL: https://github.com/nodejs/node/pull/46839
Fixes: https://github.com/nodejs/node/issues/45648
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
This commit is contained in:
Moshe Atlow authored and Juan José Arboleda committed 2023-03-04 23:03:32 -05:00
1 parent 5fdf374c74
commit 4d50db14b3
36 files changed
+1138 -245

No files matched your search

+1 -2
View File
@@ -20,8 +20,7 @@ async function runAndKill(file) {
});
const [code, signal] = await once(child, 'exit');
await finished(child.stdout);
assert.match(stdout, /not ok 1/);
assert.match(stdout, /# cancelled 1\n/);
assert.strictEqual(stdout, 'TAP version 13\n');
assert.strictEqual(signal, null);
assert.strictEqual(code, 1);
}