Add under-anything knowledge dashboard
This commit is contained in:
25
Understand-Anything-main/vitest.config.ts
Normal file
25
Understand-Anything-main/vitest.config.ts
Normal file
@@ -0,0 +1,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/**',
|
||||
],
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user