andy-stack_vaultkeeper-ai/__tests__/setup.ts
Andrew Beal 3852194f2d add: new unit / integration tests
fix: standardize error messages and improve cache path filtering

Standardize "Error parsing function call" message across Claude and OpenAI providers. Fix VaultCacheService to properly handle file events when paths move in/out of cached folders. Update test documentation and setup for Session 4.
2025-10-30 09:33:05 +00:00

15 lines
271 B
TypeScript

/**
* Test setup file - runs before all tests
*/
import { afterEach, vi } from 'vitest';
// Mock global window if needed
if (typeof global.window === 'undefined') {
global.window = {} as any;
}
// Clean up after each test
afterEach(() => {
vi.clearAllMocks();
});