Skip to content

Commit

Permalink
fix vitest env
Browse files Browse the repository at this point in the history
  • Loading branch information
BYK committed Sep 13, 2024
1 parent 34ae4ea commit cdbb50a
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 85 deletions.
30 changes: 15 additions & 15 deletions packages/overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,42 +27,42 @@
"require": "./dist/sentry-spotlight.umd.cjs"
}
},
"dependencies": {},
"devDependencies": {
"@fontsource/raleway": "^5.0.8",
"@sentry/types": "^8.0.0-alpha.7",
"@sentry/utils": "^8.0.0-alpha.7",
"@spotlightjs/tsconfig": "workspace:*",
"@spotlightjs/sidecar": "workspace:*",
"@spotlightjs/tsconfig": "workspace:*",
"@types/beautify": "^0.0.3",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react": "^4.0.3",
"@vitest/coverage-v8": "^0.34.6",
"autoprefixer": "^10.4.15",
"beautify": "^0.0.8",
"dayjs": "^1.11.9",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"typescript": "^5.0.2",
"vite": "^4.5.3",
"vite-plugin-dts": "^3.5.2",
"vite-plugin-svgr": "^3.2.0",
"vitest": "^0.34.6",
"@fontsource/raleway": "^5.0.8",
"autoprefixer": "^10.4.15",
"dayjs": "^1.11.9",
"happy-dom": "^15.7.4",
"magic-string": "^0.30.5",
"platformicons": "^5.8.3",
"postcss": "^8.4.28",
"react": "^18.2.0",
"react-diff-viewer-continued": "^3.4.0",
"react-dom": "^18.2.0",
"react-json-view": "^1.21.3",
"react-router-dom": "^6.18.0",
"sql-formatter": "^12.2.4",
"tailwindcss": "^3.3.3",
"typescript": "^5.0.2",
"usehooks-ts": "^2.9.1",
"magic-string": "^0.30.5",
"beautify": "^0.0.8",
"react-diff-viewer-continued": "^3.4.0",
"@types/beautify": "^0.0.3",
"react-json-view": "^1.21.3"
"vite": "^4.5.3",
"vite-plugin-dts": "^3.5.2",
"vite-plugin-svgr": "^3.2.0",
"vitest": "^0.34.6"
},
"volta": {
"extends": "../../package.json"
Expand Down
1 change: 1 addition & 0 deletions packages/overlay/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { defineConfig } from 'vitest/config';
export default defineConfig({
// plugins: [tsconfigPaths()],
test: {
environment: 'happy-dom',
coverage: {
provider: 'v8',
reporter: ['json'],
Expand Down
Loading

0 comments on commit cdbb50a

Please sign in to comment.