Files
Understand-Anything/vitest.config.ts
T
Yuxiang Lin a59a573a1d Merge pull request #204 from Lum1104/feat/semantic-batching-and-output-chunking
fix(#159): semantic batching + bundled importMap + Phase 1 speedup
2026-05-24 20:12:14 +08:00

26 lines
1.0 KiB
TypeScript

import { defineConfig } from 'vitest/config';
// Single-config aggregation for the whole monorepo. Picks up:
// - tests/** — relocated skill tests (out-of-plugin so they
// do not ship via the marketplace bundle)
// - understand-anything-plugin/src/** — skill TS source tests
// - understand-anything-plugin/packages/dashboard/** — dashboard utils tests
//
// The `@understand-anything/core` package owns its own vitest.config.ts and is
// invoked separately via `pnpm --filter @understand-anything/core test`; its
// files are excluded here to avoid double-counting.
export default defineConfig({
test: {
include: [
'tests/**/*.test.{js,mjs,ts}',
'understand-anything-plugin/src/**/*.test.{js,mjs,ts}',
'understand-anything-plugin/packages/dashboard/**/*.test.{js,mjs,ts,tsx}',
],
exclude: [
'**/node_modules/**',
'**/dist/**',
'understand-anything-plugin/packages/core/**',
],
},
});