From 8bf7b4cc8e0e4b14fd8155e4bb08e7c6a3283bb8 Mon Sep 17 00:00:00 2001 From: imccyu <276526105+imccyu@users.noreply.github.com> Date: Thu, 13 Aug 2026 01:20:10 +0800 Subject: [PATCH] fix: vitest --- vitest.web.config.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vitest.web.config.ts b/vitest.web.config.ts index e6e1efa1f4..1179144f61 100644 --- a/vitest.web.config.ts +++ b/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: [