Skip to content

Commit d987f08

Browse files
Claudehotlong
andauthored
chore(studio): add React Testing Library and coverage tools
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent bf9de3a commit d987f08

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

apps/studio/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"build": "pnpm msw:init && vite build",
1414
"typecheck": "tsc --noEmit",
1515
"test": "vitest run",
16+
"test:watch": "vitest",
17+
"test:coverage": "vitest run --coverage",
1618
"test:bdd": "objectstack test",
1719
"preview": "vite preview"
1820
},
@@ -72,9 +74,13 @@
7274
"@tanstack/router-devtools": "^1.91.6",
7375
"@tanstack/router-plugin": "^1.91.5",
7476
"@tailwindcss/postcss": "^4.2.2",
77+
"@testing-library/jest-dom": "^6.6.3",
78+
"@testing-library/react": "^16.1.0",
79+
"@testing-library/user-event": "^14.5.2",
7580
"@types/react": "^19.2.14",
7681
"@types/react-dom": "^19.2.3",
7782
"@vitejs/plugin-react": "^6.0.1",
83+
"@vitest/coverage-v8": "^4.1.4",
7884
"autoprefixer": "^10.4.27",
7985
"esbuild": "^0.28.0",
8086
"happy-dom": "^20.8.9",

0 commit comments

Comments
 (0)