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',
    include: ['../tools/*.test.mjs'],
    exclude: ['../tools/ruflo-*.test.mjs', '../tools/subagent-prompt-prefix.test.mjs'],
  },
});
