We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78d3a23 commit b98b150Copy full SHA for b98b150
dev-packages/node-integration-tests/utils/runner.ts
@@ -196,18 +196,6 @@ export function createEsmAndCjsTests(
196
const tmpDirPath = join(cwd, `tmp_${uniqueId}`);
197
mkdirSync(tmpDirPath);
198
199
- // Ensure tmp dir is removed on process exit as a fallback
200
- CLEANUP_STEPS.add(() => {
201
- try {
202
- rmSync(tmpDirPath, { recursive: true, force: true });
203
- } catch {
204
- if (process.env.DEBUG) {
205
- // eslint-disable-next-line no-console
206
- console.error(`Failed to remove tmp dir: ${tmpDirPath}`);
207
- }
208
209
- });
210
-
211
// Copy ESM files as-is into tmp dir
212
const esmScenarioBasename = basename(scenarioPath);
213
const esmInstrumentBasename = basename(instrumentPath);
0 commit comments