2026-05-19 06:11:25 +03:00
|
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
|
|
|
|
|
|
// Minimal Vitest config for tools/*.test.mjs (Node environment, no Vue/DOM).
|
|
|
|
|
// Separate from vitest.config.ts which targets tests/Frontend/**/*.ts.
|
|
|
|
|
// Run from repo root: node app/node_modules/vitest/vitest.mjs --config app/vitest.config.tools.mjs run
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
test: {
|
|
|
|
|
globals: true,
|
|
|
|
|
environment: 'node',
|
2026-05-19 06:31:18 +03:00
|
|
|
include: ['../tools/*.test.mjs'],
|
|
|
|
|
exclude: ['../tools/ruflo-*.test.mjs', '../tools/subagent-prompt-prefix.test.mjs'],
|
2026-05-19 06:11:25 +03:00
|
|
|
},
|
|
|
|
|
});
|