• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2process.env.FORCE_COLOR = '1';
3delete process.env.NODE_DISABLE_COLORS;
4delete process.env.NO_COLOR;
5
6require('../../../common');
7const test = require('node:test');
8
9test('should pass', () => {});
10test('should fail', () => { throw new Error('fail'); });
11test('should skip', { skip: true }, () => {});
12test('parent', () => {
13  test('should fail', () => { throw new Error('fail'); });
14  test('should pass but parent fail', () => {});
15});
16