File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 88 "dev" : " vite dev" ,
99 "build" : " vite build" ,
1010 "preview" : " vite preview" ,
11- "test" : " vitest run --config vitest.config .ts" ,
12- "test:watch" : " vitest --config vitest.config .ts" ,
11+ "test" : " vitest run --config vitest.workspace .ts" ,
12+ "test:watch" : " vitest --config vitest.workspace .ts" ,
1313 "deploy" : " wrangler deploy" ,
1414 "typecheck" : " tsc --noEmit" ,
1515 "test:e2e" : " playwright test"
Original file line number Diff line number Diff line change 11import { defineConfig , defineProject } from "vitest/config" ;
22import { cloudflareTest } from "@cloudflare/vitest-pool-workers" ;
3+ import solid from "vite-plugin-solid" ;
4+ import tailwindcss from "@tailwindcss/vite" ;
35
46export default defineConfig ( {
57 test : {
68 projects : [
79 // Browser/DOM tests (stores, services, UI)
810 defineProject ( {
11+ plugins : [ solid ( ) , tailwindcss ( ) ] ,
912 test : {
1013 name : "browser" ,
1114 environment : "happy-dom" ,
1215 globals : true ,
16+ setupFiles : [ "tests/setup.ts" ] ,
1317 include : [ "tests/**/*.test.ts" , "tests/**/*.test.tsx" ] ,
1418 exclude : [ "tests/worker/**" ] ,
1519 } ,
You can’t perform that action at this time.
0 commit comments