• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2const test = require('node:test');
3
4
5
6test('level 0a', { concurrency: 4 }, async (t) => {
7  t.test('level 1a', async (t) => {
8  });
9
10  t.test('level 1b', async (t) => {
11    throw new Error('level 1b error');
12  });
13
14  t.test('level 1c', { skip: 'aaa' }, async (t) => {
15  });
16
17  t.test('level 1d', async (t) => {
18    t.diagnostic('level 1d diagnostic');
19  });
20});
21
22test('level 0b', async (t) => {
23  throw new Error('level 0b error');
24});