mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
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>
27 lines
642 B
TypeScript
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'],
|
|
},
|
|
},
|
|
},
|
|
});
|