mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
24 lines
449 B
JavaScript
24 lines
449 B
JavaScript
|
'use strict';
|
||
|
const test = require('node:test');
|
||
|
|
||
|
|
||
|
|
||
|
test('level 0a', { concurrency: 4 }, async (t) => {
|
||
|
t.test('level 1a', async (t) => {
|
||
|
});
|
||
|
|
||
|
t.test('level 1b', async (t) => {
|
||
|
throw new Error('level 1b error');
|
||
|
});
|
||
|
|
||
|
t.test('level 1c', { skip: 'aaa' }, async (t) => {
|
||
|
});
|
||
|
|
||
|
t.test('level 1d', async (t) => {
|
||
|
t.diagnostic('level 1d diagnostic');
|
||
|
});
|
||
|
});
|
||
|
|
||
|
test('level 0b', async (t) => {
|
||
|
throw new Error('level 0b error');
|
||
|
});
|