node/test/fixtures/test-runner/recursive_run.js
Moshe Atlow 433bd1b04d
test_runner: fix recursive run
PR-URL: https://github.com/nodejs/node/pull/52322
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-04-04 13:10:52 +00:00

8 lines
167 B
JavaScript

'use strict';
const { test, run } = require('node:test');
test('recursive run() calls', async () => {
for await (const event of run({ files: [__filename] }));
});