imccyu 1 месяц назад
Родитель
Сommit
8bf7b4cc8e
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      vitest.web.config.ts

+ 5 - 2
vitest.web.config.ts

@@ -1,6 +1,6 @@
 import tsconfigPaths from 'vite-tsconfig-paths'
 import { defineConfig } from 'vitest/config'
-import { vitestExecArgv } from './vitest.shared.ts'
+import { standardDecoratorPlugin, vitestExecArgv } from './vitest.shared.ts'
 
 // Web browser lane: real host entry points, built-client interaction snapshots,
 // and replayed keyless e2e scenarios outside the unit/e2e includes. Linux PR CI
@@ -17,7 +17,10 @@ export default defineConfig({
   // Same resolution note as vitest.config.ts: the tsconfig.base.json paths
   // facade has no include (match-all), so apps/web/tests resolves bare
   // workspace imports to source like every other lane.
-  plugins: [tsconfigPaths({ projects: ['./tsconfig.base.json'] })],
+  plugins: [
+    tsconfigPaths({ projects: ['./tsconfig.base.json'] }),
+    standardDecoratorPlugin(),
+  ],
   test: {
     execArgv: vitestExecArgv,
     include: [