Skip to content

Commit

Permalink
temp fix for tests after vite upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoudmoravej committed Apr 26, 2024
1 parent 38e4272 commit fd5fdfe
Show file tree
Hide file tree
Showing 3 changed files with 153 additions and 147 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"@material-tailwind/react": "^2.1.9",
"@mui/material": "^5.15.15",
"@remix-run/css-bundle": "2.8.1",
"@remix-run/node": "2.8.1",
"@remix-run/react": "2.8.1",
"@remix-run/serve": "2.8.1",
"@remix-run/node": "2.9.1",
"@remix-run/react": "2.9.1",
"@remix-run/serve": "2.9.1",
"cookie": "^0.6.0",
"date-fns": "^3.3.1",
"dotenv": "^16.4.5",
Expand All @@ -33,7 +33,7 @@
"graphql-tag": "^2.12.6",
"isbot": "^5.1.4",
"react": "^18.2.0",
"react-day-picker": "^8.10.0",
"react-day-picker": "^8.10.1",
"react-dom": "^18.2.0",
"remix-auth": "^3.6.0",
"remix-auth-google": "^2.0.0",
Expand All @@ -43,10 +43,10 @@
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/client-preset": "4.2.5",
"@graphql-eslint/eslint-plugin": "^3.20.1",
"@remix-run/dev": "2.8.1",
"@remix-run/eslint-config": "2.8.1",
"@remix-run/testing": "^2.8.1",
"@testing-library/react": "^14.2.1",
"@remix-run/dev": "2.9.1",
"@remix-run/eslint-config": "2.9.1",
"@remix-run/testing": "^2.9.1",
"@testing-library/react": "^15.0.5",
"@types/react": "18.2.42",
"@types/react-dom": "^18.2.19",
"autoprefixer": "^10.4.19",
Expand All @@ -57,9 +57,9 @@
"prettier-plugin-tailwindcss": "^0.5.14",
"tailwindcss": "^3.4.3",
"typescript": "^5.3.3",
"vite": "^5.2.9",
"vite": "^5.2.10",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.5.0"
"vitest": "^1.5.2"
},
"engines": {
"node": ">=20.5.1"
Expand Down
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default mergeConfig(
viteConfig,
defineConfig({
test: {
environment: "jsdom",
// environment: "jsdom",
globals: true,
},
}),
Expand Down
Loading

0 comments on commit fd5fdfe

Please sign in to comment.