mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
a1b27b25bb
PR-URL: https://github.com/nodejs/node/pull/45712 Fixes: https://github.com/nodejs/node/issues/45648 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
12 lines
224 B
JavaScript
12 lines
224 B
JavaScript
'use strict';
|
|
const test = require('node:test');
|
|
|
|
test('nested', { concurrency: 4 }, async (t) => {
|
|
t.test('ok', () => {});
|
|
t.test('failing', () => {
|
|
throw new Error('error');
|
|
});
|
|
});
|
|
|
|
test('top level', () => {});
|