Started Adding Jest and Tests

This commit is contained in:
Ahmad 2024-12-28 17:36:50 -05:00
parent 542405be98
commit 64c366998e
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
9 changed files with 3047 additions and 59 deletions

View file

@ -10,7 +10,9 @@
"lint": "next lint && tsc --noemit",
"postinstall": "prisma generate --no-engine",
"format": "prettier --check --ignore-path .prettierignore .",
"format:fix": "prettier --write --ignore-path .prettierignore ."
"format:fix": "prettier --write --ignore-path .prettierignore .",
"test": "jest",
"coverage": "jest --coverage"
},
"dependencies": {
"@arcjet/next": "^1.0.0-alpha.34",
@ -64,8 +66,12 @@
"@microsoft/eslint-formatter-sarif": "^3.1.0",
"@next/eslint-plugin-next": "15.1.3",
"@tailwindcss/typography": "^0.5.15",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/compression": "^1.7.5",
"@types/dompurify": "^3",
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.13",
"@types/node": "^22.10.2",
"@types/react": "^19.0.0",
@ -79,13 +85,18 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react-compiler": "^19.0.0-beta-201e55d-20241215",
"fluid-tailwind": "^1.0.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mintlify": "^4.0.300",
"postcss": "^8.4.49",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.9",
"prisma": "^6.0.1",
"tailwindcss": "^3.4.16",
"typescript": "^5.6.3"
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^2.1.8"
},
"packageManager": "yarn@4.5.3"
}