Add the planned Task 4 test path to the explicit canvas test include list so normal Vitest discovery runs components/canvas/__tests__/use-canvas-flow-reconciliation.test.ts without temporary config overrides.
21 lines
578 B
TypeScript
21 lines
578 B
TypeScript
import path from "node:path";
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "."),
|
|
},
|
|
},
|
|
test: {
|
|
environment: "node",
|
|
include: [
|
|
"tests/**/*.test.ts",
|
|
"components/canvas/__tests__/canvas-flow-reconciliation-helpers.test.ts",
|
|
"components/canvas/__tests__/use-canvas-flow-reconciliation.test.ts",
|
|
"components/canvas/__tests__/use-canvas-sync-engine.test.ts",
|
|
"components/canvas/__tests__/use-canvas-sync-engine-hook.test.tsx",
|
|
],
|
|
},
|
|
});
|