basic e2e tests

This commit is contained in:
Owen Rees
2023-06-08 13:37:28 +02:00
parent c5aac42344
commit b038d3fee8
10 changed files with 150 additions and 25 deletions
+7 -1
View File
@@ -7,7 +7,12 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "jest --watch"
"jest": "jest",
"jest:watch": "jest --watch",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"test": "npm run cypress:run && npm run jest",
"test:watch": "npm run cypress:open && npm run jest:watch"
},
"dependencies": {
"@types/node": "20.2.3",
@@ -32,6 +37,7 @@
"@testing-library/react": "^14.0.0",
"@types/leaflet": "^1.9.3",
"cypress": "^12.13.0",
"eslint-plugin-cypress": "^2.13.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0"
}