Files
ruflo/v3/@claude-flow/embeddings/vitest.config.ts
T
rUvandClaude Opus 4.5 8e663bcda3 Checkpoint: File edits
Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T04:59:28Z
- Changes: 2 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:59:28 +00:00

27 lines
642 B
TypeScript

/**
* @claude-flow/embeddings Vitest Configuration
*/
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
environment: 'node',
setupFiles: ['./__tests__/setup.ts'],
include: ['__tests__/**/*.test.ts', '__tests__/**/*.spec.ts'],
exclude: ['node_modules', 'dist'],
globals: true,
mockReset: true,
clearMocks: true,
restoreMocks: true,
testTimeout: 10000,
// Use forks with execArgv to pass memory to child process
pool: 'forks',
poolOptions: {
forks: {
singleFork: true,
execArgv: ['--max-old-space-size=8192'],
},
},
},
});