mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test_runner: hide failing tests title when all tests pass
PR-URL: https://github.com/nodejs/node/pull/47370 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
6
test/message/test_runner_spec_reporter_successful.js
Normal file
6
test/message/test_runner_spec_reporter_successful.js
Normal file
@@ -0,0 +1,6 @@
|
||||
// Flags: --no-warnings --test-reporter=spec
|
||||
'use strict';
|
||||
require('../common');
|
||||
const { it } = require('node:test');
|
||||
|
||||
it('should pass', () => {});
|
||||
9
test/message/test_runner_spec_reporter_successful.out
Normal file
9
test/message/test_runner_spec_reporter_successful.out
Normal file
@@ -0,0 +1,9 @@
|
||||
* should pass *(*ms)*
|
||||
*tests 1*
|
||||
*suites 0*
|
||||
*pass 1*
|
||||
*fail 0*
|
||||
*cancelled 0*
|
||||
*skipped 0*
|
||||
*todo 0*
|
||||
*duration_ms *
|
||||
Reference in New Issue
Block a user