Skip to content

Commit

Permalink
fix vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
CalcagnoLoic committed Jan 27, 2024
1 parent 348c61a commit cb4068e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "0.0.0",
"type": "module",
"homepage": "https://calcagnoloic.github.io/ecommerce-sneakers/",
"scripts": {
"dev": "vite",
"dev:format": "prettier --write .",
Expand Down
5 changes: 3 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export default defineConfig({
plugins: [react()],
test: {
globals: true,
environment: 'jsdom',
setupFiles: './src/setup.ts',
environment: "jsdom",
setupFiles: "./src/setup.ts",
},
base: "/ecommerce-sneakers/",
});

0 comments on commit cb4068e

Please sign in to comment.