chore(deps-dev): bump icedfrisby-nock from 2.0.0 to 2.1.0 (#6819)
* chore(deps-dev): bump icedfrisby-nock from 2.0.0 to 2.1.0 Bumps [icedfrisby-nock](https://github.com/paulmelnikow/icedfrisby-nock) from 2.0.0 to 2.1.0. - [Release notes](https://github.com/paulmelnikow/icedfrisby-nock/releases) - [Changelog](https://github.com/paulmelnikow/icedfrisby-nock/blob/main/CHANGELOG.md) - [Commits](https://github.com/paulmelnikow/icedfrisby-nock/compare/2.0.0...2.1.0) --- updated-dependencies: - dependency-name: icedfrisby-nock dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix: ensure network available during non-mocked service tests Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Caleb Cartwright <caleb.cartwright@outlook.com> Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
@@ -19,6 +19,7 @@ const factory = superclass =>
|
||||
constructor(message) {
|
||||
super(message)
|
||||
this.intercepted = false
|
||||
super.networkOn()
|
||||
}
|
||||
|
||||
get(uri, options = { followRedirect: false }) {
|
||||
@@ -31,6 +32,7 @@ const factory = superclass =>
|
||||
|
||||
intercept(setup) {
|
||||
super.intercept(setup)
|
||||
super.networkOff()
|
||||
this.intercepted = true
|
||||
return this
|
||||
}
|
||||
|
||||
23
package-lock.json
generated
23
package-lock.json
generated
@@ -114,7 +114,7 @@
|
||||
"humanize-string": "^2.1.0",
|
||||
"husky": "^4.3.8",
|
||||
"icedfrisby": "4.0.0",
|
||||
"icedfrisby-nock": "^2.0.0",
|
||||
"icedfrisby-nock": "^2.1.0",
|
||||
"is-svg": "^4.3.1",
|
||||
"js-yaml-loader": "^1.2.2",
|
||||
"jsdoc": "^3.6.7",
|
||||
@@ -16342,10 +16342,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/icedfrisby-nock": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/icedfrisby-nock/-/icedfrisby-nock-2.0.0.tgz",
|
||||
"integrity": "sha512-Yl0XmxqXgvjcqLpA8MhWKVQQHeuPB2Nrl1NLG0DoTp8FI0qIWOCal8xEZ7zBY5RSgCL83TX0vPyBOX9dR1G4zQ==",
|
||||
"dev": true
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/icedfrisby-nock/-/icedfrisby-nock-2.1.0.tgz",
|
||||
"integrity": "sha512-kllF0451KHKkrwb5Em8KXA0i9ncAnezfidvgVi1sBuA8ClDorZ8A+rdr61dgcXZlo/MEWHeJIR5e0wVB/mxthA==",
|
||||
"dev": true,
|
||||
"peerDependencies": {
|
||||
"icedfrisby": ">= 2.2.0",
|
||||
"nock": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/iconv-lite": {
|
||||
"version": "0.4.24",
|
||||
@@ -44304,10 +44308,11 @@
|
||||
}
|
||||
},
|
||||
"icedfrisby-nock": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/icedfrisby-nock/-/icedfrisby-nock-2.0.0.tgz",
|
||||
"integrity": "sha512-Yl0XmxqXgvjcqLpA8MhWKVQQHeuPB2Nrl1NLG0DoTp8FI0qIWOCal8xEZ7zBY5RSgCL83TX0vPyBOX9dR1G4zQ==",
|
||||
"dev": true
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/icedfrisby-nock/-/icedfrisby-nock-2.1.0.tgz",
|
||||
"integrity": "sha512-kllF0451KHKkrwb5Em8KXA0i9ncAnezfidvgVi1sBuA8ClDorZ8A+rdr61dgcXZlo/MEWHeJIR5e0wVB/mxthA==",
|
||||
"dev": true,
|
||||
"requires": {}
|
||||
},
|
||||
"iconv-lite": {
|
||||
"version": "0.4.24",
|
||||
|
||||
@@ -201,7 +201,7 @@
|
||||
"humanize-string": "^2.1.0",
|
||||
"husky": "^4.3.8",
|
||||
"icedfrisby": "4.0.0",
|
||||
"icedfrisby-nock": "^2.0.0",
|
||||
"icedfrisby-nock": "^2.1.0",
|
||||
"is-svg": "^4.3.1",
|
||||
"js-yaml-loader": "^1.2.2",
|
||||
"jsdoc": "^3.6.7",
|
||||
|
||||
Reference in New Issue
Block a user