Skip to content

Commit

Permalink
Merge pull request #161 from msqd/test_frontend_dashboard_app
Browse files Browse the repository at this point in the history
[READY] Test frontend dashboard app - Vitest
  • Loading branch information
ArthurD1 committed Feb 14, 2024
2 parents db62a51 + 48a93e6 commit ac07de3
Show file tree
Hide file tree
Showing 74 changed files with 6,880 additions and 1,615 deletions.
1 change: 1 addition & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ dist-ssr
*.njsproj
*.sln
*.sw?
src/tests/coverage
19 changes: 11 additions & 8 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
"preview": "vite preview",
"test": "echo soon tm"
},
"babel": {
"plugins": [
"recharts"
]
"test": "vitest run",
"test:coverage": "vitest run --coverage"
},
"babelMacros": {
"twin": {
Expand Down Expand Up @@ -49,6 +45,8 @@
"devDependencies": {
"@babel/plugin-transform-react-jsx": "^7.23.4",
"@emotion/babel-plugin-jsx-pragmatic": "^0.2.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/node": "^20.11.17",
"@types/prismjs": "^1.26.3",
"@types/react": "^18.2.45",
Expand All @@ -57,6 +55,7 @@
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.2.2",
"autoprefixer": "^10.4.16",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-prismjs": "^2.1.0",
Expand All @@ -68,16 +67,20 @@
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"jsdom": "^24.0.0",
"json-schema-to-typescript": "^13.1.2",
"msw": "^2.1.7",
"postcss": "^8.4.32",
"prettier": "^3.1.1",
"react-test-renderer": "^18.2.0",
"resize-observer-polyfill": "^1.5.1",
"rollup-plugin-visualizer": "^5.12.0",
"tailwindcss": "^3.4.1",
"twin.macro": "^3.4.1",
"typescript": "^5.3.3",
"vite": "^5.0.10",
"vite-tsconfig-paths": "^4.3.1"
"vite-tsconfig-paths": "^4.3.1",
"vitest": "^1.2.2"
}
}
Loading

0 comments on commit ac07de3

Please sign in to comment.