Skip to content

Commit

Permalink
chore: list fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
d-goog committed Oct 10, 2024
1 parent 84070b3 commit 3a7c2de
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions test/kitchen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 3a7c2de

Please sign in to comment.