node/test/fixtures/test-runner/nested.js
Wassim Chegham f8ce9117b1
test_runner: add initial TAP parser
Work in progress

PR-URL: https://github.com/nodejs/node/pull/43525
Refs: https://github.com/nodejs/node/issues/43344
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
2022-11-21 22:50:21 +00:00

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');
});