mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
5fdf374c74
commit
4d50db14b3
36 files changed
+1138
-245
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user