forked from Egonex-AI/Understand-Anything
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.ts
More file actions
25 lines (24 loc) · 1.04 KB
/
Copy pathvitest.config.ts
File metadata and controls
25 lines (24 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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/**',
],
},
});