Skip to content

Commit 1f166ef

Browse files
committed
fix: cli test fix
1 parent bb3f0ba commit 1f166ef

File tree

2 files changed

+543
-541
lines changed

2 files changed

+543
-541
lines changed

packages/core/__tests__/unit/cli.test.cjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,9 @@ test('CLI script uses existing package.json if it exists', async () => {
127127
fs.writeFileSync(packageJsonPath, JSON.stringify(customPackageJson, null, 2));
128128

129129
// Run CLI (this will timeout on npm install, but that's ok for this test)
130-
const result = await runCLIScript(testDir, 5000).catch(err => {
130+
await runCLIScript(testDir, 5000).catch(err => {
131131
// We expect this to timeout/fail during npm install
132132
console.log('CLI run resulted in:', err.message);
133-
console.log('CLI run result:', result);
134133
return { timedOut: true };
135134
});
136135

0 commit comments

Comments
 (0)