From 3a7c2dee43d2eb8bcceaa5f67adeed0c32e40e9d Mon Sep 17 00:00:00 2001 From: Daniel Bankhead Date: Wed, 9 Oct 2024 21:17:24 -0700 Subject: [PATCH] chore: list fixtures --- test/kitchen.ts | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/test/kitchen.ts b/test/kitchen.ts index d7b04607..e8133d8a 100644 --- a/test/kitchen.ts +++ b/test/kitchen.ts @@ -33,6 +33,7 @@ describe('🚰 kitchen sink', () => { console.log('moving packed tar to ', targetPath); fs.moveSync('gts.tgz', targetPath); fs.copySync(fixturesPath, path.join(stagingPath, path.sep)); + console.log('fixtures:', fs.readdirSync(path.join(stagingPath, path.sep))); }); // CLEAN UP - remove the staging directory when done. @@ -92,27 +93,6 @@ describe('🚰 kitchen sink', () => { path.join(tmpDir.name, 'gts.tgz') ); - try { - console.log( - path.resolve(stagingPath, 'kitchen'), - fs.readdirSync(path.resolve(stagingPath, 'kitchen')) - ); - - console.log( - path.resolve(stagingPath, 'kitchen', 'node_modules'), - fs.readdirSync(path.resolve(stagingPath, 'kitchen', 'node_modules')) - ); - - console.log( - path.resolve(stagingPath, 'kitchen', 'node_modules', '.bin'), - fs.readdirSync( - path.resolve(stagingPath, 'kitchen', 'node_modules', '.bin') - ) - ); - } catch (e) { - console.dir({e}); - } - // It's important to use `-n` here because we don't want to overwrite // the version of gts installed, as it will trigger the npm install. spawn.sync(GTS, ['init', '-n'], opts);