PR-URL: https://github.com/nodejs/node/pull/47803 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
15 lines
449 B
JavaScript
15 lines
449 B
JavaScript
'use strict';
|
|
process.env.FORCE_COLOR = '1';
|
|
delete process.env.NODE_DISABLE_COLORS;
|
|
delete process.env.NO_COLOR;
|
|
|
|
require('../../../common');
|
|
const test = require('node:test');
|
|
|
|
test('should pass', () => {});
|
|
test('should fail', () => { throw new Error('fail'); });
|
|
test('should skip', { skip: true }, () => {});
|
|
test('parent', () => {
|
|
test('should fail', () => { throw new Error('fail'); });
|
|
test('should pass but parent fail', () => {});
|
|
});
|