From 36627c1a748406e602542dbf8f61452d8dba2516 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Sun, 22 Dec 2024 12:40:16 +0100 Subject: [PATCH] dont create test dirs, let te tool do it for us Signed-off-by: Jan Kowalleck --- tests/integration/cli.from-collected.test.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/integration/cli.from-collected.test.js b/tests/integration/cli.from-collected.test.js index 472a0808a..a4355bc84 100644 --- a/tests/integration/cli.from-collected.test.js +++ b/tests/integration/cli.from-collected.test.js @@ -35,7 +35,6 @@ describe('integration.cli.from-collected', () => { const LATETS_NPM = '10' const tmpRootRun = join(tmpRoot, 'with-prepared') - mkdirSync(tmpRootRun) const _allDemoCases = indexNpmLsDemoData() const useCases = [ @@ -57,8 +56,6 @@ describe('integration.cli.from-collected', () => { ] describe.each(useCases)('$subject', (ud) => { - mkdirSync(join(tmpRootRun, ud.subject)) - test.each(ud.demoCases)('$subject $args npm$npm node$node $os', async (dd) => { const expectedOutSnap = join(demoResultsRoot, ud.subject, `${dd.subject}${dd.args}_npm${dd.npm}_node${dd.node}_${dd.os}.snap.json`) const logFileBase = join(tmpRootRun, ud.subject, `${dd.subject}${dd.args}_npm${dd.npm}_node${dd.node}_${dd.os}`)