node/test/fixtures/test-runner/reporters.js
Moshe Atlow a1b27b25bb
test_runner: add reporters
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>
2022-12-19 17:35:57 +00:00

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', () => {});