Skip to content

Commit

Permalink
feat: Add vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
sivertschou committed Jan 11, 2025
1 parent 56a8efa commit 4180ab9
Show file tree
Hide file tree
Showing 4 changed files with 245 additions and 4 deletions.
6 changes: 4 additions & 2 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"prepare": "bash prepare.sh",
"dev": "vite",
"build": "tsc && vite build"
"build": "tsc && vite build",
"test": "vitest"
},
"dependencies": {
"@chakra-ui/react": "^2.8.1",
Expand Down Expand Up @@ -53,6 +54,7 @@
"@vitejs/plugin-react": "^4.2.1",
"typescript": "5.3.3",
"vite": "^5.4.10",
"vite-plugin-checker": "^0.6.4"
"vite-plugin-checker": "^0.6.4",
"vitest": "^2.1.8"
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"build": "turbo run build",
"build:backend": "yarn --cwd apps/backend build",
"build:frontend": "yarn --cwd apps/frontend build",
"test": "turbo run test",
"frontend": "yarn --cwd apps/frontend start",
"backend": "yarn --cwd apps/backend start",
"clean": "rm -rf node_modules */**/node_modules */**/.turbo */**/dist */**/build"
Expand Down
3 changes: 2 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"cache": false,
"outputs": ["build/**", "dist/**"],
"persistent": true
}
},
"test": {}
}
}
Loading

0 comments on commit 4180ab9

Please sign in to comment.