{"_id":"cypress-fail-on-network-error","_rev":"13-b68b4a985d4a385d221f3b7b7fbd6365","name":"cypress-fail-on-network-error","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.3":{"name":"cypress-fail-on-network-error","version":"1.0.3","keywords":["cypress","testing","network","request","response","error"],"author":{"name":"nils-hoyer"},"license":"MIT","_id":"cypress-fail-on-network-error@1.0.3","maintainers":[{"name":"nils.hoyer","email":"nhregi@gmail.com"}],"homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"dist":{"shasum":"13bae95c4db38ac3849732950862193badf66613","tarball":"https://registry.npmjs.org/cypress-fail-on-network-error/-/cypress-fail-on-network-error-1.0.3.tgz","fileCount":5,"integrity":"sha512-e2JjkIbRxh1enLKzfsOBdkJBV8hkdUH8zB18y7xmXysmq5PnBrg+7vQNNvyo1pClKHN6OgOuMSdX62g1jfCkzA==","signatures":[{"sig":"MEUCIE5kJTX9BR62NC37MQ7jkf5xy+rQSTCJynZyjZs4q332AiEAj8kE8gfe1C2o1kDlLjlG4DrCY0qgKrtbNGYNnOObsuM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13824},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"8d244dea4bef2b0be330bddaad8c3fcde4301195","scripts":{"dev":"npm run dev:fe & npm run dev:be","lint":"tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json","test":"npm run test:ut && npm run test:it","build":"npm run build:be & npm run build:fe","dev:be":"nodemon --watch './backend/app.js' --ext 'js' --exec 'npm run build:be'","dev:fe":"nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'","verify":"npm run build && npm run lint && npm run prettier:check && npm run test","test:it":"ts-mocha -n loader=ts-node/esm test/integrationTest.ts --timeout 60000","test:ut":"ts-mocha -n loader=ts-node/esm test/unitTest.ts","build:be":"node ./backend/app.cjs","build:fe":"npx rimraf dist/ && tsc","prettier":"prettier --write \"**/*\"","prettier:check":"prettier --check \"**/*\""},"_npmUser":{"name":"nils.hoyer","email":"nhregi@gmail.com"},"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"_npmVersion":"10.2.3","description":"fail cypress test on network error","directories":{},"_nodeVersion":"20.10.0","dependencies":{"chai":"^5.0.0","type-detect":"^4.0.8"},"_hasShrinkwrap":false,"devDependencies":{"cors":"2.8.5","mocha":"10.2.0","rimraf":"5.0.5","cypress":"13.6.2","express":"4.18.1","nodemon":"3.0.2","ts-node":"^10.9.1","prettier":"3.1.1","ts-mocha":"10.0.0","typescript":"5.2.2","@types/chai":"4.3.11","@types/mocha":"10.0.6","@types/expect":"24.3.0","@types/type-detect":"4.0.3","prettier-plugin-organize-imports":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/cypress-fail-on-network-error_1.0.3_1704546782865_0.5266921423352198","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"cypress-fail-on-network-error","version":"1.0.4","keywords":["cypress","testing","network","request","response","error"],"author":{"name":"nils-hoyer"},"license":"MIT","_id":"cypress-fail-on-network-error@1.0.4","maintainers":[{"name":"nils.hoyer","email":"nhregi@gmail.com"}],"homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"dist":{"shasum":"15f0d2bc6831fe3b1d924fa2bebed59553b3313a","tarball":"https://registry.npmjs.org/cypress-fail-on-network-error/-/cypress-fail-on-network-error-1.0.4.tgz","fileCount":5,"integrity":"sha512-npWCvGCesQy4fHfRTsKHLuqxTjR6ibjZjw7VazCJ8QP2ljtGHyDqeOlMWLp1zZnJ1m20NyIAYk6H4siDxDAvxg==","signatures":[{"sig":"MEUCIQDeKIedP8j9uOzp3P9U+0yjJe/TbAxkTb0Y+y9iZW11mQIgc3Vwbbl0s9eg8dD8+L93yh/2ukSigYnELfE5q4GWSV8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13900},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"72b390816189c78951e8bce8054ca5b60f39d74d","scripts":{"dev":"npm run dev:fe & npm run dev:be","lint":"tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json","test":"npm run test:ut && npm run test:it","build":"npm run build:be & npm run build:fe","dev:be":"nodemon --watch './backend/app.js' --ext 'js' --exec 'npm run build:be'","dev:fe":"nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'","verify":"npm run build && npm run lint && npm run prettier:check && npm run test","test:it":"ts-mocha -n loader=ts-node/esm test/integrationTest.ts --timeout 60000","test:ut":"ts-mocha -n loader=ts-node/esm test/unitTest.ts","build:be":"node ./backend/app.cjs","build:fe":"npx rimraf dist/ && tsc","prettier":"prettier --write \"**/*\"","prettier:check":"prettier --check \"**/*\""},"_npmUser":{"name":"nils.hoyer","email":"nhregi@gmail.com"},"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"_npmVersion":"10.2.3","description":"fail cypress test on network error","directories":{},"_nodeVersion":"20.10.0","dependencies":{"chai":"^5.0.0","type-detect":"^4.0.8"},"_hasShrinkwrap":false,"devDependencies":{"cors":"2.8.5","mocha":"10.4.0","rimraf":"5.0.5","cypress":"13.7.3","express":"4.19.2","nodemon":"3.1.0","ts-node":"^10.9.1","prettier":"3.2.5","ts-mocha":"10.0.0","typescript":"5.4.5","@types/chai":"4.3.14","@types/mocha":"10.0.6","@types/expect":"24.3.0","@types/type-detect":"4.0.3","prettier-plugin-organize-imports":"3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/cypress-fail-on-network-error_1.0.4_1713467874844_0.06821101540551333","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"cypress-fail-on-network-error","version":"1.0.5","keywords":["cypress","testing","network","request","response","error"],"author":{"name":"nils-hoyer"},"license":"MIT","_id":"cypress-fail-on-network-error@1.0.5","maintainers":[{"name":"nils.hoyer","email":"nhregi@gmail.com"}],"homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"dist":{"shasum":"e15b141bbfcf6568ddf09886d055a63c3c6ec858","tarball":"https://registry.npmjs.org/cypress-fail-on-network-error/-/cypress-fail-on-network-error-1.0.5.tgz","fileCount":5,"integrity":"sha512-Kp13TlMS4HFJ3zd1MXhQ7le6KRhZ2XmuDEkDi4cmPoy6Q8oOrXrh9Y5wteBA17NkpyiD2eGbC0g+ld8W3gnJMA==","signatures":[{"sig":"MEUCIBTRqx2Aroz6e5cQ7n2qQVH5ifm+dtSSwhtZK4dUkycUAiEA30mLeLXRrksGRBtZVVCw8wHHmEU9x6dAuyCNxJ/qlXY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13733},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"a7f1f49b0f3dd07e6a7600f0ba3952e37efade95","scripts":{"dev":"npm run dev:fe & npm run dev:be","lint":"tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json","test":"npm run test:ut && npm run test:it","build":"npm run build:be & npm run build:fe","dev:be":"nodemon --watch './backend/app.js' --ext 'js' --exec 'npm run build:be'","dev:fe":"nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'","verify":"npm run build && npm run lint && npm run prettier:check && npm run test","test:it":"ts-mocha -n loader=ts-node/esm test/integrationTest.ts --timeout 60000","test:ut":"ts-mocha -n loader=ts-node/esm test/unitTest.ts","build:be":"node ./backend/app.cjs","build:fe":"npx rimraf dist/ && tsc","prettier":"prettier --write \"**/*\"","prettier:check":"prettier --check \"**/*\""},"_npmUser":{"name":"nils.hoyer","email":"nhregi@gmail.com"},"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"_npmVersion":"10.9.3","description":"fail cypress test on network error","directories":{},"_nodeVersion":"22.18.0","dependencies":{"chai":"^6.0.0","type-detect":"^4.0.8"},"_hasShrinkwrap":false,"devDependencies":{"cors":"2.8.5","mocha":"11.7.5","rimraf":"6.1.2","cypress":"15.8.1","express":"5.2.1","nodemon":"3.1.11","ts-node":"^10.9.1","prettier":"3.7.4","ts-mocha":"11.1.0","typescript":"5.9.3","@types/chai":"5.2.3","@types/mocha":"10.0.10","@types/type-detect":"4.0.3","prettier-plugin-organize-imports":"4.3.0"},"_npmOperationalInternal":{"tmp":"tmp/cypress-fail-on-network-error_1.0.5_1767524423914_0.4736864998919643","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"cypress-fail-on-network-error","version":"1.1.0","keywords":["cypress","testing","network","request","response","error"],"author":{"name":"nils-hoyer"},"license":"MIT","_id":"cypress-fail-on-network-error@1.1.0","maintainers":[{"name":"nils.hoyer","email":"nhregi@gmail.com"}],"homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"dist":{"shasum":"65b29704c55ae6183e968e90fbb451c4479302d4","tarball":"https://registry.npmjs.org/cypress-fail-on-network-error/-/cypress-fail-on-network-error-1.1.0.tgz","fileCount":5,"integrity":"sha512-pDorCsIV3Cx+jjZPJXVGSjmyLa22Pw8zgdhVqX835BCyYC8EnhsjXtywUP9T/59Nkr7z9D0A/ohUcpod23/LAQ==","signatures":[{"sig":"MEQCIFg/vPd23sLnCZgzHaf3LdqPE9dFyv+/FP3bgn5AAZVTAiAObpGUeQbhj2S9IpeD6J8fZcxJdDETDLs8sEj61v1FbQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIBtxjHOuZ7RvGDy9VPLU3QDqwY9bS4FLW2il1H05VdYVAiBAN9A+FW3glRexvoGyw1/TQyMN/8v27A60OYjvrNTopw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/cypress-fail-on-network-error@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18382},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"c90432d0b493bb71c41e79ee140a32dfc7315bc7","scripts":{"dev":"npm run dev:fe & npm run dev:be","lint":"tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json","test":"npm run test:ut && npm run test:it","build":"npm run build:fe","dev:be":"nodemon --watch './backend/app.cjs' --ext 'cjs' --exec 'npm run build:be'","dev:fe":"nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'","verify":"npm run build && npm run lint && npm run prettier:check && npm run test","prepack":"npm run build:fe","test:it":"mocha -n loader=ts-node/esm test/integrationTest.ts --timeout 60000","test:ut":"mocha -n loader=ts-node/esm test/unitTest.ts","build:be":"node ./backend/app.cjs","build:fe":"rimraf dist/ && tsc","prettier":"prettier --write \"**/*\"","prettier:check":"prettier --check \"**/*\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"0374afe6-d8fa-43a3-800f-16270b453a7f"}},"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"_npmVersion":"12.2.0","description":"fail cypress test on network error","directories":{},"_nodeVersion":"24.21.0","dependencies":{"chai":"^6.0.0","type-detect":"^4.0.8"},"_hasShrinkwrap":false,"devDependencies":{"cors":"2.8.6","mocha":"12.0.3","rimraf":"6.1.3","cypress":"16.1.1","express":"5.2.1","nodemon":"3.1.14","ts-node":"^10.9.1","prettier":"3.9.9","typescript":"6.0.3","@types/chai":"5.2.3","@types/mocha":"10.0.10","@types/type-detect":"4.0.3","prettier-plugin-organize-imports":"4.3.0"},"peerDependencies":{"cypress":">=8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/cypress-fail-on-network-error_1.1.0_1791808803586_0.7574935260798741","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"cypress-fail-on-network-error","version":"1.1.1","keywords":["cypress","testing","network","request","response","error"],"author":{"name":"nils-hoyer"},"license":"MIT","_id":"cypress-fail-on-network-error@1.1.1","maintainers":[{"name":"nils.hoyer","email":"nhregi@gmail.com"}],"homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"dist":{"shasum":"168a647caf845fee5a9a341028d7e22bb6ed804d","tarball":"https://registry.npmjs.org/cypress-fail-on-network-error/-/cypress-fail-on-network-error-1.1.1.tgz","fileCount":5,"integrity":"sha512-jc+qTj8huD6zniU7w1NCkYti+lSuWf5cPboY5tBqfZmpRYcrFQJQzG6ZTHmAmOfDYFFFxAJxfyiYx2ozKdgtbQ==","signatures":[{"sig":"MEQCIHIDSXrDot4U+CwLqDl7SolC8QgIuGrYpqFXjqDGqpZOAiA4nmUjFysYmwfk5SGAT2jXWrQKjOTjBGR3r4hM4sYf5g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC8tZ8kDf66rrH6nRwfbxWt5WlTzpBPxmk7/0shg0CzCwIgZs98glnh6uL5OhjOdUByDbwqXmUodx8tzPAYGXh1bEc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/cypress-fail-on-network-error@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18655},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"9b2a2b77845e0a0a558f09147eebf2345d921186","scripts":{"dev":"npm run dev:fe & npm run dev:be","lint":"tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json","test":"npm run test:ut && npm run test:it","build":"npm run build:fe","dev:be":"nodemon --watch './backend/app.cjs' --ext 'cjs' --exec 'npm run build:be'","dev:fe":"nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'","verify":"npm run build && npm run lint && npm run prettier:check && npm run test","prepack":"npm run build:fe","test:it":"mocha -n loader=ts-node/esm test/integrationTest.ts --timeout 60000","test:ut":"mocha -n loader=ts-node/esm test/unitTest.ts","build:be":"node ./backend/app.cjs","build:fe":"rimraf dist/ && tsc","prettier":"prettier --write \"**/*\"","prettier:check":"prettier --check \"**/*\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"0374afe6-d8fa-43a3-800f-16270b453a7f"}},"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"_npmVersion":"12.2.0","description":"fail cypress test on network error","directories":{},"_nodeVersion":"24.21.0","dependencies":{"chai":"^6.0.0","type-detect":"^4.0.8"},"_hasShrinkwrap":false,"devDependencies":{"cors":"2.8.6","mocha":"12.0.3","rimraf":"6.1.3","cypress":"16.1.1","express":"5.2.1","nodemon":"3.1.14","ts-node":"^10.9.1","prettier":"3.9.9","typescript":"6.0.3","@types/chai":"5.2.3","@types/mocha":"10.0.10","@types/type-detect":"4.0.3","prettier-plugin-organize-imports":"4.3.0"},"peerDependencies":{"cypress":">=8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/cypress-fail-on-network-error_1.1.1_1791810805205_0.3878230257364028","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"cypress-fail-on-network-error","version":"1.1.2","keywords":["cypress","testing","network","request","response","error"],"author":{"name":"nils-hoyer"},"license":"MIT","_id":"cypress-fail-on-network-error@1.1.2","maintainers":[{"name":"nils.hoyer","email":"nhregi@gmail.com"}],"homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"dist":{"shasum":"d4c8c9a16508d88726901adffd7ad71c9f6e0615","tarball":"https://registry.npmjs.org/cypress-fail-on-network-error/-/cypress-fail-on-network-error-1.1.2.tgz","fileCount":5,"integrity":"sha512-5/7xh76hJIL7fAd3mmlvTHheIKCmM75bibhf/vK+yHHFwLF+RgfBq0zI/n0/hTb1Pi5eOVfl+evN0XKsfK9hKg==","signatures":[{"sig":"MEUCIQCeVeAQzJpsHistIcNAKzfdkm/Uo8lAVEB0JRIHipWdIgIgSXtNVS0qR9SApIk5C+VDs+UeCnSNOJgTnCetFH0+XZk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGmoafLXcOhuagbv3nWEkd1e1IUIpXYbMfPaeK4Ocsj/AiBxzJmu0jxwzUmzmVlE9n5unU5TKL4OTgxdA90x9CNTLA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/cypress-fail-on-network-error@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19617},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"c6521dc6991ede94af8de6945839d55bb38b28c6","scripts":{"dev":"npm run dev:fe & npm run dev:be","lint":"tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json","test":"npm run test:ut && npm run test:it","build":"npm run build:fe","dev:be":"nodemon --watch './backend/app.cjs' --ext 'cjs' --exec 'npm run build:be'","dev:fe":"nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'","verify":"npm run build && npm run lint && npm run prettier:check && npm run test","prepack":"npm run build:fe","test:it":"mocha -n loader=ts-node/esm test/integrationTest.ts --timeout 60000","test:ut":"mocha -n loader=ts-node/esm test/unitTest.ts","build:be":"node ./backend/app.cjs","build:fe":"rimraf dist/ && tsc","prettier":"prettier --write \"**/*\"","prettier:check":"prettier --check \"**/*\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"0374afe6-d8fa-43a3-800f-16270b453a7f"}},"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"_npmVersion":"12.2.0","description":"fail cypress test on network error","directories":{},"_nodeVersion":"24.21.0","dependencies":{"chai":"^6.0.0","type-detect":"^4.0.8"},"_hasShrinkwrap":false,"devDependencies":{"cors":"2.8.6","mocha":"12.0.3","rimraf":"6.1.3","cypress":"16.1.1","express":"5.2.1","nodemon":"3.1.14","ts-node":"^10.9.1","prettier":"3.9.9","typescript":"6.0.3","@types/chai":"5.2.3","@types/mocha":"10.0.10","@types/type-detect":"4.0.3","prettier-plugin-organize-imports":"4.3.0"},"peerDependencies":{"cypress":">=8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/cypress-fail-on-network-error_1.1.2_1791814253973_0.12661537023274727","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"cypress-fail-on-network-error","version":"1.2.0","keywords":["cypress","testing","network","request","response","error"],"author":{"name":"nils-hoyer"},"license":"MIT","_id":"cypress-fail-on-network-error@1.2.0","maintainers":[{"name":"nils.hoyer","email":"nhregi@gmail.com"}],"homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"dist":{"shasum":"1ac0247cc331135fa21d465b27fd8bda8f6be81d","tarball":"https://registry.npmjs.org/cypress-fail-on-network-error/-/cypress-fail-on-network-error-1.2.0.tgz","fileCount":5,"integrity":"sha512-J4nU5DqYE53EJT/L7/Zk4M+UAw68l8YSwk0rQlp26z/CB3/tfIc7VY3A4JU1c5MKcAOkESOKlT8QpQ/mwTQH6w==","signatures":[{"sig":"MEUCIFhqSSXwunMYa8xC0yS1QIkTxlUyCXp9IVuoGn/6M2vvAiEAj7oB2yTOrSrsLK6lQmHdN9KOxbrmyZ/BCkZ8+8VmUqk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIHpWMXvA4/ggUn6gvv/BH7ujxqLlzGUQ2XyQ60o6Cd65AiEA5w/Gu0qdR+oO3942W9ez/s8Ld7hwu7wlcyr07eFwdU4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/cypress-fail-on-network-error@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18941},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"adecd867d953de7f04d275be2eddeda62f184503","scripts":{"dev":"npm run dev:fe & npm run dev:be","lint":"tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json","test":"npm run test:ut && npm run test:it","build":"npm run build:fe","dev:be":"nodemon --watch './backend/app.cjs' --ext 'cjs' --exec 'npm run build:be'","dev:fe":"nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'","verify":"npm run build && npm run lint && npm run prettier:check && npm run test","prepack":"npm run build:fe","test:it":"mocha -n loader=ts-node/esm test/integrationTest.ts --timeout 60000","test:ut":"mocha -n loader=ts-node/esm test/unitTest.ts","build:be":"node ./backend/app.cjs","build:fe":"rimraf dist/ && tsc","prettier":"prettier --write \"**/*\"","prettier:check":"prettier --check \"**/*\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"0374afe6-d8fa-43a3-800f-16270b453a7f"}},"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"_npmVersion":"12.2.0","description":"fail cypress test on network error","directories":{},"_nodeVersion":"24.21.0","dependencies":{"chai":"^6.0.0","type-detect":"^4.0.8"},"_hasShrinkwrap":false,"devDependencies":{"cors":"2.8.6","mocha":"12.0.3","rimraf":"6.1.3","cypress":"16.1.1","express":"5.2.1","nodemon":"3.1.14","ts-node":"^10.9.1","prettier":"3.9.9","typescript":"6.0.3","@types/chai":"5.2.3","@types/mocha":"10.0.10","@types/type-detect":"4.0.3","prettier-plugin-organize-imports":"4.3.0"},"peerDependencies":{"cypress":">=8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/cypress-fail-on-network-error_1.2.0_1791818935006_0.01813921142300301","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"cypress-fail-on-network-error","version":"1.2.1","keywords":["cypress","testing","network","request","response","error"],"author":{"name":"nils-hoyer"},"license":"MIT","_id":"cypress-fail-on-network-error@1.2.1","maintainers":[{"name":"nils.hoyer","email":"nhregi@gmail.com"}],"homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"dist":{"shasum":"d6eeebd11a561da79be58b549434ebff4104b24c","tarball":"https://registry.npmjs.org/cypress-fail-on-network-error/-/cypress-fail-on-network-error-1.2.1.tgz","fileCount":5,"integrity":"sha512-uvas6lvWYEtJQGs+IL1MdDdjcOvmJ8nVsB2Ga4m0DGItB3uYsTasz5kPi2AEBt6V3LKoUVKw+Zppx/O3Nba/cQ==","signatures":[{"sig":"MEUCIGqrGpd+we5yoiuLPTSmbTWB7hENgt+M8g+Cc5FUD/wMAiEAke5ZfFCm/WWYo6R/AlCN30fVrvy7MqC5YXXv+hbvApw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIAQt9YHj008ONETBa71aPV86Bmy7Vmc53oP0HEJ59NxNAiEA/u7QrL/t4UDFTRhxNEVEIbX8BLO2jtLR33EZWYv9tro=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/cypress-fail-on-network-error@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":19475},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"2825e78d77d5572bb4d5299a596f45c4ffa53202","scripts":{"dev":"npm run dev:fe & npm run dev:be","lint":"tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json","test":"npm run test:ut && npm run test:it","build":"npm run build:fe","dev:be":"nodemon --watch './backend/app.cjs' --ext 'cjs' --exec 'npm run build:be'","dev:fe":"nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'","verify":"npm run build && npm run lint && npm run prettier:check && npm run test","prepack":"npm run build:fe","test:it":"mocha -n loader=ts-node/esm test/integrationTest.ts --timeout 60000","test:ut":"mocha -n loader=ts-node/esm test/unitTest.ts","build:be":"node ./backend/app.cjs","build:fe":"rimraf dist/ && tsc","prettier":"prettier --write \"**/*\"","prettier:check":"prettier --check \"**/*\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"0374afe6-d8fa-43a3-800f-16270b453a7f"}},"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"_npmVersion":"12.2.0","description":"fail cypress test on network error","directories":{},"_nodeVersion":"24.21.0","dependencies":{"chai":"^6.0.0","type-detect":"^4.0.8"},"_hasShrinkwrap":false,"devDependencies":{"cors":"2.8.6","mocha":"12.0.3","rimraf":"6.1.3","cypress":"16.1.1","express":"5.2.1","nodemon":"3.1.14","ts-node":"^10.9.1","prettier":"3.9.9","typescript":"6.0.3","@types/chai":"5.2.3","@types/mocha":"10.0.10","@types/type-detect":"4.0.3","prettier-plugin-organize-imports":"4.3.0"},"peerDependencies":{"cypress":">=8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/cypress-fail-on-network-error_1.2.1_1791819485604_0.4667418941503205","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"cypress-fail-on-network-error","version":"1.3.0","keywords":["cypress","testing","network","request","response","error"],"author":{"name":"nils-hoyer"},"license":"MIT","_id":"cypress-fail-on-network-error@1.3.0","maintainers":[{"name":"nils.hoyer","email":"nhregi@gmail.com"}],"homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"dist":{"shasum":"a8040350b3880139f07b90704cbbae8636f073f8","tarball":"https://registry.npmjs.org/cypress-fail-on-network-error/-/cypress-fail-on-network-error-1.3.0.tgz","fileCount":5,"integrity":"sha512-KlNameDaWfDVW/RRRIraFP91uALPcNHvAYjTJiwtpGw4zEVFpyfjDgE6Vr/Liy1sZrhmj5FtURqhXnitl5Z3IA==","signatures":[{"sig":"MEQCIE5S4ckG6zcAsJzTPI4gmj694Eg3SS7ndxmaiCz2L3XQAiAIjy9QYMi/vspW9Dl2tp+HjdmOvHGngP8jLO9M3yURBw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIG9RtUQKqjSg5TkYST+aX4op4okX1VdxFxAvgl55Sbq6AiAJIOoDk+tU3gBAwaxCqUQBoyI84tFaVSx6RfFsn91Dxw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/cypress-fail-on-network-error@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20901},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/nils-hoyer","gitHead":"1eaec72dbb9a1033bdca595251ff5373fde272c8","scripts":{"dev":"npm run dev:fe & npm run dev:be","lint":"tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json","test":"npm run test:ut && npm run test:it","build":"npm run build:fe","dev:be":"nodemon --watch './backend/app.cjs' --ext 'cjs' --exec 'npm run build:be'","dev:fe":"nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'","verify":"npm run build && npm run lint && npm run prettier:check && npm run test","prepack":"npm run build:fe","test:it":"mocha test/integrationTest.ts --timeout 60000","test:ut":"mocha test/unitTest.ts","build:be":"node ./backend/app.cjs","build:fe":"rimraf dist/ && tsc","prettier":"prettier --write \"**/*\"","prettier:check":"prettier --check \"**/*\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"0374afe6-d8fa-43a3-800f-16270b453a7f"}},"devEngines":{"runtime":{"name":"node","onFail":"error","version":">=22.18.0"}},"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"_npmVersion":"12.2.0","description":"fail cypress test on network error","directories":{},"_nodeVersion":"24.21.0","dependencies":{"chai":"^6.0.0","type-detect":"^4.0.8"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"12.0.3","rimraf":"6.1.3","cypress":"16.1.1","express":"5.3.0","nodemon":"3.1.14","prettier":"3.9.9","typescript":"7.0.2","@types/chai":"5.2.3","@types/node":"24.19.2","@types/mocha":"10.0.10","@types/type-detect":"4.0.3","prettier-plugin-organize-imports":"4.3.0"},"peerDependencies":{"cypress":">=8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/cypress-fail-on-network-error_1.3.0_1792062163780_0.0820360601062029","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"cypress-fail-on-network-error","version":"1.4.0","keywords":["cypress","testing","network","request","response","error"],"author":{"name":"nils-hoyer"},"license":"MIT","_id":"cypress-fail-on-network-error@1.4.0","maintainers":[{"name":"nils.hoyer","email":"nhregi@gmail.com"}],"homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"dist":{"shasum":"9e581c3c4c768ff1567378968d06228f2e02fe9f","tarball":"https://registry.npmjs.org/cypress-fail-on-network-error/-/cypress-fail-on-network-error-1.4.0.tgz","fileCount":5,"integrity":"sha512-Qclx2hblCOSr0EXYJ1o+yzxmTBiA+E/oz58Mre8HjpzWrEeSxJErEe4Yh2s4LWKEiR3y77Tb2ZKAP7gTeQeNkQ==","signatures":[{"sig":"MEUCIAwtLyXJRWEvPo3rS5LYAam2FYI/SlVrRajrV5Oe7HlTAiEAw5Z04c0UFyPSOsnisPL6wPo/oafDiVd7oO6tu9ee6no=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIAPohqx8Q49OEpok5XB7ESswvDUj6qKuWh7i0H4ExMMhAiBuU/DmMB425/niYhUjaorj14tj4TeTsYPGPmWJ1gElvg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/cypress-fail-on-network-error@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33647},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/nils-hoyer","gitHead":"41c54315f83f23c2d28d16e1e569df25708c95e6","scripts":{"dev":"npm run dev:fe & npm run dev:be","lint":"tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json","test":"npm run test:ut && npm run test:it","build":"npm run build:fe","dev:be":"nodemon --watch './backend/app.cjs' --ext 'cjs' --exec 'npm run build:be'","dev:fe":"nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'","verify":"npm run build && npm run lint && npm run prettier:check && npm run test","prepack":"npm run build:fe","test:it":"mocha test/integrationTest.ts --timeout 60000","test:ut":"mocha test/unitTest.ts","build:be":"node ./backend/app.cjs","build:fe":"rimraf dist/ && tsc","prettier":"prettier --write \"**/*\"","prettier:check":"prettier --check \"**/*\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"0374afe6-d8fa-43a3-800f-16270b453a7f"}},"devEngines":{"runtime":{"name":"node","onFail":"error","version":">=22.18.0"}},"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"_npmVersion":"12.2.0","description":"fail cypress test on network error","directories":{},"_nodeVersion":"24.21.0","dependencies":{"chai":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"mocha":"12.0.3","rimraf":"6.1.3","cypress":"16.1.1","express":"5.3.0","nodemon":"3.1.14","prettier":"3.9.9","typescript":"7.0.2","@types/chai":"5.2.3","@types/node":"24.19.2","@types/mocha":"10.0.10","prettier-plugin-organize-imports":"4.3.0"},"peerDependencies":{"cypress":">=8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/cypress-fail-on-network-error_1.4.0_1792139913211_0.6043076241842167","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"cypress-fail-on-network-error","version":"2.0.0","keywords":["cypress","testing","network","request","response","error"],"author":{"name":"nils-hoyer"},"license":"MIT","_id":"cypress-fail-on-network-error@2.0.0","maintainers":[{"name":"nils.hoyer","email":"nhregi@gmail.com"}],"homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"dist":{"shasum":"5e8e0bde91ca2534344c303765088b16e0721072","tarball":"https://registry.npmjs.org/cypress-fail-on-network-error/-/cypress-fail-on-network-error-2.0.0.tgz","fileCount":7,"integrity":"sha512-PzWOpAApb/pnO0AwALwI7quyfP0jeSwPDIuBMgfs5spBx7ChC2blScm+mHta5wA/gl5mXyISDuPSp5ZtPHQYcA==","signatures":[{"sig":"MEQCIAENRI+tTaH9qbxGbvYt6i/wJHVNRrMsi1mOoaKZuEesAiBwmC3N35puHn8nXBeCxJnWd5UEaJ1c8/jc076cIHIOcA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICqr5i0Sslgj2Puyg1J46gszAmJoCIOuaR8W2I93POFMAiEAsvKE8HRp6DdXIZ6QGLLQlcHpUi61aH706QiinVGC+/c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/cypress-fail-on-network-error@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":34264},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/nils-hoyer","gitHead":"936dcdc7c57701dbcfd8ed4b430e7def3c705f3a","scripts":{"dev":"npm run dev:fe & npm run dev:be","lint":"tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json","test":"npm run test:ut && npm run test:it","build":"npm run build:fe","dev:be":"nodemon --watch './backend/app.cjs' --ext 'cjs' --exec 'npm run build:be'","dev:fe":"nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'","verify":"npm run build && npm run lint && npm run prettier:check && npm run test","prepack":"npm run build:fe","test:it":"mocha test/integrationTest.ts --timeout 60000","test:ut":"mocha test/unitTest.ts","build:be":"node ./backend/app.cjs","build:fe":"rimraf dist/ && tsc","prettier":"prettier --write \"**/*\"","prettier:check":"prettier --check \"**/*\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"0374afe6-d8fa-43a3-800f-16270b453a7f"}},"devEngines":{"runtime":{"name":"node","onFail":"error","version":">=22.18.0"}},"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"_npmVersion":"12.2.0","description":"fail cypress test on network error","directories":{},"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"chai":"6.3.0","mocha":"12.0.3","rimraf":"6.1.3","cypress":"16.1.1","express":"5.3.0","nodemon":"3.1.14","prettier":"3.9.9","minimatch":"10.2.6","typescript":"7.0.2","@types/chai":"5.2.3","@types/node":"24.19.2","@types/mocha":"10.0.10","prettier-plugin-organize-imports":"4.3.0"},"peerDependencies":{"cypress":">=8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/cypress-fail-on-network-error_2.0.0_1792166324295_0.2227545451970565","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"cypress-fail-on-network-error","version":"2.0.1","keywords":["cypress","testing","network","request","response","error"],"author":{"name":"nils-hoyer"},"license":"MIT","_id":"cypress-fail-on-network-error@2.0.1","maintainers":[{"name":"nils.hoyer","email":"nhregi@gmail.com"}],"homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"dist":{"shasum":"9cb1685477718c0ead9035267050c01cffec7d81","tarball":"https://registry.npmjs.org/cypress-fail-on-network-error/-/cypress-fail-on-network-error-2.0.1.tgz","fileCount":7,"integrity":"sha512-oHaM/vcO3RrL5tGSxbkWZxA0QrWag9FaQQmhOEreRu4h0gXGUmiLF7o26oP59uXwmVva+lFLY4p9lshquidJcA==","signatures":[{"sig":"MEUCIESvEJxaAiaJu6XS9dQKaF+Ya6dd4ILrf7kgMstf5N0kAiEAmpWy/T0VEJTPhR60qp7VoUXMDwCSQ7eRmk1XUcANcac=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIA7aeJObTOIT+0kMljEXMyP7gf5iRSRBQFKO8/8TldbKAiEAyz2BMj8tIVq5QKDFa7BuhCN6c3mXK4/R01Nxxydg6tM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/cypress-fail-on-network-error@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":34453},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/nils-hoyer","gitHead":"9a3ff0a9e7f147232bf0c90e994bda046128a09d","scripts":{"dev":"npm run dev:fe & npm run dev:be","lint":"tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json","test":"npm run test:ut && npm run test:it","build":"npm run build:fe","dev:be":"nodemon --watch './backend/app.cjs' --ext 'cjs' --exec 'npm run build:be'","dev:fe":"nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'","verify":"npm run build && npm run lint && npm run prettier:check && npm run test","prepack":"npm run build:fe","test:it":"mocha test/integrationTest.ts --timeout 60000","test:ut":"mocha test/unitTest.ts","build:be":"node ./backend/app.cjs","build:fe":"rimraf dist/ && tsc","prettier":"prettier --write \"**/*\"","prettier:check":"prettier --check \"**/*\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"0374afe6-d8fa-43a3-800f-16270b453a7f"}},"devEngines":{"runtime":{"name":"node","onFail":"error","version":">=22.18.0"}},"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"_npmVersion":"12.2.0","description":"fail cypress test on network error","directories":{},"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"chai":"6.3.0","mocha":"12.0.3","rimraf":"6.1.3","cypress":"16.1.1","express":"5.3.0","nodemon":"3.1.14","prettier":"3.9.9","minimatch":"10.2.6","typescript":"7.0.2","@types/chai":"5.2.3","@types/node":"24.19.2","@types/mocha":"10.0.10","prettier-plugin-organize-imports":"4.3.0"},"peerDependencies":{"cypress":">=8.4.0"},"_npmOperationalInternal":{"tmp":"tmp/cypress-fail-on-network-error_2.0.1_1792237469507_0.5840448518032635","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"_id":"cypress-fail-on-network-error@2.1.0","bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"dist":{"shasum":"56bbe28deefc0e26983cd0b72e0656e4861359c1","tarball":"https://registry.npmjs.org/cypress-fail-on-network-error/-/cypress-fail-on-network-error-2.1.0.tgz","fileCount":7,"integrity":"sha512-zLc3ocQ7Fp5oNoJL7lPmoWgyhpeksmxwp+DXu5F1feTYre8ATwvSkw5k6TX4DzFY3z63e28IL0EOfRE7iM+BLA==","signatures":[{"sig":"MEUCIHPLM8XskwJlzc+WB9BPffk8U7jT0P45tNvneJOEal5SAiEAtBH9j+/2QJhfvW6kDYDbl6JxwUYkKizZwS1y6+kEubs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGFTlr+FKj1LNQ04M6P4xZx3QbCHV8HaXqtiFNXSGD1lAiEAuaxIyWsRu2h9BDrgS/Y2xiMTC9R2K9nAbA+wpkHlKzY="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/cypress-fail-on-network-error@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":39473},"main":"dist/index.js","name":"cypress-fail-on-network-error","type":"module","types":"dist/index.d.ts","author":{"name":"nils-hoyer"},"engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./package.json":"./package.json"},"funding":"https://github.com/sponsors/nils-hoyer","gitHead":"b4edafe9f8feca6d21d6d8f774687d1766b782eb","license":"MIT","scripts":{"dev":"npm run dev:fe & npm run dev:be","lint":"tsc --noEmit && tsc -p ./test/tsconfig.json && tsc -p ./cypress/tsconfig.json","test":"npm run test:ut && npm run test:it","build":"npm run build:fe","dev:be":"nodemon --watch './backend/app.cjs' --ext 'cjs' --exec 'npm run build:be'","dev:fe":"nodemon --watch './src' --ext 'ts' --exec 'npm run build:fe'","verify":"npm run build && npm run lint && npm run prettier:check && npm run test","prepack":"npm run build:fe","test:it":"mocha test/integrationTest.ts --timeout 60000","test:ut":"mocha test/unitTest.ts","build:be":"node ./backend/app.cjs","build:fe":"rimraf dist/ && tsc","prettier":"prettier --write \"**/*\"","prettier:check":"prettier --check \"**/*\""},"version":"2.1.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"0374afe6-d8fa-43a3-800f-16270b453a7f"}},"homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","keywords":["cypress","testing","network","request","response","error"],"devEngines":{"runtime":{"name":"node","onFail":"error","version":">=22.18.0"}},"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"_npmVersion":"12.2.1","description":"fail cypress test on network error","directories":{},"maintainers":[{"name":"nils.hoyer","email":"nils.hoyer@codesurfer.io"}],"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"chai":"6.3.0","mocha":"12.0.3","rimraf":"6.1.3","cypress":"16.1.1","express":"5.3.0","nodemon":"3.1.14","prettier":"3.9.9","minimatch":"10.2.6","typescript":"7.0.2","@types/chai":"5.2.3","@types/node":"24.19.2","@types/mocha":"10.0.10","prettier-plugin-organize-imports":"4.3.0"},"peerDependencies":{"cypress":">=8.4.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cypress-fail-on-network-error_2.1.0_1792680667551_0.07515240566894676"}}},"time":{"created":"2024-01-06T13:13:02.708Z","modified":"2026-10-22T14:51:08.119Z","1.0.3":"2024-01-06T13:13:03.105Z","1.0.4":"2024-04-18T19:17:54.996Z","1.0.5":"2026-01-04T11:00:24.057Z","1.1.0":"2026-10-12T12:40:03.672Z","1.1.1":"2026-10-12T13:13:25.282Z","1.1.2":"2026-10-12T14:10:54.063Z","1.2.0":"2026-10-12T15:28:55.101Z","1.2.1":"2026-10-12T15:38:05.694Z","1.3.0":"2026-10-15T11:02:43.873Z","1.4.0":"2026-10-16T08:38:33.307Z","2.0.0":"2026-10-16T15:58:44.381Z","2.0.1":"2026-10-17T11:44:29.600Z","2.1.0":"2026-10-22T14:51:07.636Z"},"bugs":{"url":"https://github.com/nils-hoyer/cypress-fail-on-network-error/issues"},"author":{"name":"nils-hoyer"},"license":"MIT","homepage":"https://github.com/nils-hoyer/cypress-fail-on-network-error#readme","keywords":["cypress","testing","network","request","response","error"],"repository":{"url":"git+https://github.com/nils-hoyer/cypress-fail-on-network-error.git","type":"git"},"description":"fail cypress test on network error","maintainers":[{"name":"nils.hoyer","email":"nils.hoyer@codesurfer.io"}],"readme":"# cypress-fail-on-network-error\n\n[![npm](https://img.shields.io/npm/v/cypress-fail-on-network-error)](https://www.npmjs.com/package/cypress-fail-on-network-error)\n[![CI](https://github.com/nils-hoyer/cypress-fail-on-network-error/actions/workflows/ci.yml/badge.svg)](https://github.com/nils-hoyer/cypress-fail-on-network-error/actions/workflows/ci.yml)\n[![Sponsor](https://img.shields.io/github/sponsors/nils-hoyer?label=Sponsor&logo=GitHub)](https://github.com/sponsors/nils-hoyer)\n\nFail Cypress tests when the application under test makes a network request you did not expect, such as an API call that returns a `500`. Set up once in your support file, it checks every XHR and `fetch` request in every test, including failed calls that your app or third-party scripts swallow, which Cypress doesn't fail on.\n\nTo fail tests on `console.error()` calls, see [cypress-fail-on-console-error](https://www.npmjs.com/package/cypress-fail-on-console-error).\n\n## Installation\n\n```sh\nnpm install cypress-fail-on-network-error --save-dev\n```\n\n## Usage\n\nCall `failOnNetworkError()` in your support file, `cypress/support/e2e.ts`:\n\n```ts\nimport failOnNetworkError from 'cypress-fail-on-network-error';\n\nfailOnNetworkError();\n```\n\nAn XHR or `fetch` request fails the test when it gets an error response (`400` or higher) or no response at all. It is logged to the command log:\n\n<img src=\"./docs/commandLog.png\" width=\"450\" alt=\"An unexpected request in the Cypress command log and the failed test's error\">\n\n## Configuration\n\n| Option           | Default | Description |\n| ---------------- | ------- | ----------- |\n| `ignoreRequests` | `[{ status: { from: 100, to: 399 } }]` | Requests that don't fail a test, see [Matching requests](#matching-requests). Your list replaces the default, so keep its entry to ignore successful responses, or use `[]` to fail on every request. |\n| `debug` | `false` | Also logs each request that `ignoreRequests` ignores, with the entry that matched it. See [Debugging](#debugging). |\n\n```ts\nimport failOnNetworkError, { type Config } from 'cypress-fail-on-network-error';\n\nconst config: Config = {\n    ignoreRequests: [\n        { status: { from: 100, to: 399 } }, // keep the default\n        'analytics', // any request whose URL contains \"analytics\"\n        { url: '/api/*/avatar*', status: 404 }, // a glob\n        /\\/api\\/v\\d+\\/health/, // a RegExp: /api/v1/health, /api/v2/health, …\n        { url: '/api/feature-flags', method: 'GET', status: 404 },\n        { method: 'POST', status: 409 }, // a 409 from any POST request\n        { method: ['HEAD', 'OPTIONS'] }, // any HEAD or OPTIONS request\n        // responses that the server marks as expected\n        ({ responseHeaders }) => responseHeaders?.['x-expected-error'] === 'true',\n    ],\n};\n\nfailOnNetworkError(config);\n```\n\n### Matching requests\n\nAn entry is an object with any of `url`, `method`, `status` and `predicate`. A string or a `RegExp` is shorthand for `{ url }`, and a function for `{ predicate }`. A request that matches any entry is ignored. Within an entry, every field it sets must match.\n\n- `url` is a `string` or a `RegExp`. A string matches when the URL contains it, such as `'/api/users'`, or as a [glob](https://on.cypress.io/minimatch), as in `cy.intercept()`, such as `'/api/*/users'`. A `RegExp` matches anywhere in the full URL.\n    - Because a string matches when the URL contains it, `'/api/feature-flags'` also matches `/api/feature-flags-v2`. To match only that path, use a `RegExp` such as `/\\/api\\/feature-flags(\\?|$)/`.\n    - A glob must match the query too, so `'/api/*/avatar'` does not match `/api/1/avatar?size=64`, but `'/api/*/avatar*'` does.\n- `method` is an HTTP method, such as `'GET'`, in any case, or a list of methods.\n- `status` is a number, or a range `{ from, to }` that includes both ends. A request without a response, for example when the connection is refused, has no status, so only entries without `status` match it.\n- `predicate` gets the request's `method`, `url`, `requestHeaders`, and `status` and `responseHeaders` or `error`, and ignores the request when it returns `true`. Header names are lower case. Request and response bodies are not available.\n\n## Ignoring requests in one test\n\nTo change the ignored requests in a test, and to wait for pending requests, register the commands in your support file:\n\n```ts\nimport failOnNetworkError, {\n    addIgnoredRequestsCommands,\n} from 'cypress-fail-on-network-error';\n\nconst failOnNetwork = failOnNetworkError(config);\naddIgnoredRequestsCommands(failOnNetwork);\n```\n\nThen use them in a test. Changes last until the end of the test.\n\n```ts\nit('should tolerate an unavailable recommendations service', () => {\n    cy.addIgnoredRequests([{ url: '/api/recommendations', status: 503 }]);\n    cy.visit('/');\n});\n```\n\n| Command                                    | Description |\n| ------------------------------------------ | ----------- |\n| `cy.getIgnoredRequests()`                  | Yields `ignoreRequests`. |\n| `cy.setIgnoredRequests(['/api/cart'])`     | Replaces `ignoreRequests`, including the default entry. |\n| `cy.addIgnoredRequests([{ status: 404 }])` | Adds to `ignoreRequests`. |\n| `cy.deleteIgnoredRequests(['/api/cart'])`  | Removes equal entries from `ignoreRequests`. |\n| `cy.waitForRequests(timeout)`              | Waits for pending requests, see [below](#waiting-for-pending-requests). |\n\nTo change `debug` in a test, use `getConfig()` and `setConfig()`, which `failOnNetworkError()` returns:\n\n```ts\nconst { getConfig, setConfig } = failOnNetwork;\n\nCypress.Commands.add('setDebug', (debug: boolean) => {\n    setConfig({ ...getConfig(), debug });\n});\n\ndeclare global {\n    namespace Cypress {\n        interface Chainable {\n            setDebug(debug: boolean): Chainable<void>;\n        }\n    }\n}\n```\n\n## Waiting for pending requests\n\nA response that arrives after the test's last command is not checked. To check slow requests too, end the test with `cy.waitForRequests()`, which `addIgnoredRequestsCommands()` registers:\n\n```ts\nit('should check every request the page makes', () => {\n    cy.visit('/');\n    cy.waitForRequests();\n});\n```\n\n`cy.waitForRequests(timeout = 10000)` waits until every request of the current test has a response or has failed. When the timeout passes first, the test continues without an error, and each request that is still pending is logged as `pending`.\n\n## Debugging\n\nClick an `unexpected` entry in the command log to print the request, its status or error, and the `ignoreRequests` entries it was matched against to the browser console.\n\nSet `debug: true` to also log each ignored request, with the entry that matched it:\n\n```ts\nfailOnNetworkError({\n    ignoreRequests: [{ status: { from: 200, to: 399 } }],\n    debug: true,\n});\n```\n\n<img src=\"./docs/debugTrue.png\" width=\"450\" alt=\"An ignored request and an unexpected one in the Cypress command log\">\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n","readmeFilename":"README.md"}