nock 13.2.0 → 13.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/back.js +1 -0
- package/lib/common.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +1 -1
package/lib/back.js
CHANGED
|
@@ -263,6 +263,7 @@ function removeFixture(fixture, options) {
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
if (fixture && fixtureExists(fixture)) {
|
|
266
|
+
/* istanbul ignore next - fs.unlinkSync is for node 10 support */
|
|
266
267
|
fs.rmSync ? fs.rmSync(fixture) : fs.unlinkSync(fixture)
|
|
267
268
|
}
|
|
268
269
|
context.isLoaded = false
|
package/lib/common.js
CHANGED
|
@@ -547,7 +547,7 @@ function urlToOptions(url) {
|
|
|
547
547
|
* Used for comparing decoded search parameters, request body JSON objects,
|
|
548
548
|
* and URL decoded request form bodies.
|
|
549
549
|
*
|
|
550
|
-
* Performs a general recursive strict
|
|
550
|
+
* Performs a general recursive strict comparison with two caveats:
|
|
551
551
|
* - The expected data can use regexp to compare values
|
|
552
552
|
* - JSON path notation and nested objects are considered equal
|
|
553
553
|
*/
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED