From a79bfee303f01fc5e2aba45ef19db3939253a320 Mon Sep 17 00:00:00 2001 From: Roshane Pascual Date: Mon, 23 Dec 2024 23:22:32 -0800 Subject: [PATCH] try this --- .../components/dependabot_version_update_handler.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/components/dependabot_version_update_handler.test.ts b/scripts/components/dependabot_version_update_handler.test.ts index 995b0378d5..8d9b612f1e 100644 --- a/scripts/components/dependabot_version_update_handler.test.ts +++ b/scripts/components/dependabot_version_update_handler.test.ts @@ -46,9 +46,9 @@ void describe('dependabot version update handler', async () => { // create temp dir const shortId = randomUUID().split('-')[0]; const testNameNormalized = testName.slice(0, 15).replaceAll(/\s/g, ''); - const tempDir = await fsp.mkdtemp(tmpdir()); - testWorkingDir = path.join(tempDir, `${testNameNormalized}-${shortId}`); - await fsp.mkdir(testWorkingDir); + testWorkingDir = await fsp.mkdtemp( + path.join(tmpdir(), `${testNameNormalized}-${shortId}`) + ); console.log(testWorkingDir); gitClient = new GitClient(testWorkingDir);