cli: add option to reject network requets in frontend tests

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-10-18 23:40:52 +02:00
parent 6cbe4f999c
commit a7f97e40b3
7 changed files with 238 additions and 26 deletions
+3
View File
@@ -133,6 +133,9 @@
"sort-package-json": "^2.8.0",
"typescript": "~5.2.0"
},
"jest": {
"rejectFrontendNetworkRequests": true
},
"packageManager": "yarn@3.8.1",
"engines": {
"node": "18 || 20"