Files
node/test/fixtures/test-runner/plan/subtest.mjs
2025-03-10 22:23:23 +00:00

10 lines
184 B
JavaScript

import test from 'node:test';
test('parent test', async (t) => {
t.plan(1);
await t.test('child test', (t) => {
t.plan(1);
t.assert.ok(true, 'child assertion');
});
});