refactor: add custom mock for serviceWorker test

This commit is contained in:
Joe Previte
2021-02-24 10:50:08 -07:00
parent 6b56e6572d
commit 8c14799797
9 changed files with 68 additions and 193 deletions

View File

@@ -1,19 +1,14 @@
{
"#": "We must put jest in a sub-directory otherwise VS Code somehow picks up the types and generates conflicts with mocha.",
"scripts": {
"postinstall": "./scripts/patch.sh"
},
"devDependencies": {
"@types/jest": "^26.0.20",
"@types/jsdom": "^16.2.6",
"@types/node-fetch": "^2.5.8",
"@types/service-worker-mock": "^2.0.1",
"@types/supertest": "^2.0.10",
"jest": "^26.6.3",
"jsdom": "^16.4.0",
"node-fetch": "^2.6.1",
"playwright": "^1.8.0",
"service-worker-mock": "^2.0.5",
"supertest": "^6.1.1",
"ts-jest": "^26.4.4"
}