Add unit tests for form functions

This commit is contained in:
Aarni Halinen
2021-09-01 18:28:28 +03:00
parent a3e74f5e0d
commit b0b1120015
6 changed files with 5837 additions and 0 deletions
+4
View File
@@ -27,12 +27,14 @@
"start": "next dev",
"start-prod": "next start --port ${SERVER_PORT:=80}",
"serve": "next start --port 3000",
"test:unit": "jest --coverage",
"test": "npm run testcafe",
"testcafe": "testcafe --config-file testcafe.json",
"build-analyze": "ANALYZE=true npm run build",
"prepare": "husky install"
},
"devDependencies": {
"@types/jest": "^27.0.1",
"@types/js-cookie": "^2.2.7",
"@types/react": "^17.0.19",
"@types/react-beautiful-dnd": "^13.1.1",
@@ -48,12 +50,14 @@
"eslint-config-airbnb-typescript": "^13.0.0",
"eslint-config-next": "^11.1.0",
"husky": "^7.0.1",
"jest": "^27.1.0",
"next-sitemap": "^1.6.162",
"npm-run-all": "^4.1.5",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^22.0.0",
"stylelint-config-styled-components": "^0.1.1",
"testcafe": "^1.15.3",
"ts-jest": "^27.0.5",
"typescript": "^4.3.5"
},
"dependencies": {