node/test/fixtures/test-runner/root-duration.mjs

8 lines
134 B
JavaScript

import { test, after } from 'node:test';
after(() => {});
test('a test with some delay', (t, done) => {
setTimeout(done, 50);
});