Skip to content

Commit cb578f3

Browse files
fix(tests): Exclude external directory + increase test timeout
- Exclude external/ from vitest to prevent zeroshot test failures - Increase timeout for 'should show clear status' test to 15s
1 parent f697315 commit cb578f3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/__tests__/integration/cli-integration.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ describe('CLI Integration', () => {
8989
});
9090

9191
describe('Clear Command', () => {
92-
it('should show clear status', () => {
92+
it('should show clear status', { timeout: 15000 }, () => {
9393
// Initialize first
9494
execSync(`node ${cliPath} init`, { cwd: testDir });
9595

vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default defineConfig({
55
globals: true,
66
environment: 'node',
77
include: ['**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
8-
exclude: ['node_modules', 'dist', '.idea', '.git', '.cache', '.opencode'],
8+
exclude: ['node_modules', 'dist', '.idea', '.git', '.cache', '.opencode', 'external'],
99
coverage: {
1010
provider: 'v8',
1111
reporter: ['text', 'json', 'html'],

0 commit comments

Comments
 (0)