From 4d694d7dc8cdc782f6739eb322fb3b0713941422 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Wed, 14 Jul 2021 21:21:27 -0700 Subject: [PATCH] Fix running smoketest multiple times --- test/smoke/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/smoke/src/main.ts b/test/smoke/src/main.ts index 17122480168..f4231463a88 100644 --- a/test/smoke/src/main.ts +++ b/test/smoke/src/main.ts @@ -36,7 +36,7 @@ import { setup as setupDataMultirootTests } from './areas/multiroot/multiroot.te import { setup as setupDataLocalizationTests } from './areas/workbench/localization.test'; import { setup as setupLaunchTests } from './areas/workbench/launch.test'; -const tmpDir = tmp.dirSync({ name: 't' }) as { name: string; removeCallback: Function; }; +const tmpDir = tmp.dirSync({ prefix: 't' }) as { name: string; removeCallback: Function; }; const testDataPath = tmpDir.name; process.once('exit', () => { try {