From 2b372cbf89ddd7e192a7d78617e49ec82a3d39b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=88=AA=E5=AE=87?= <3364451258@qq.com> Date: Wed, 27 May 2026 14:18:42 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=20vitest.config.ts?= =?UTF-8?q?=20=E2=80=94=20=E6=8E=92=E9=99=A4=20e2e=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=EF=BC=8C=E9=85=8D=E7=BD=AE=20@/=20=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E5=88=AB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- vitest.config.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vitest.config.ts diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 0000000..f8a44b1 --- /dev/null +++ b/vitest.config.ts @@ -0,0 +1,13 @@ +import { defineConfig } from 'vitest/config'; +import path from 'node:path'; + +export default defineConfig({ + resolve: { + alias: { + '@': path.resolve(__dirname, 'src'), + }, + }, + test: { + exclude: ['e2e/**', 'node_modules/**', 'src-tauri/**'], + }, +});