Comparing version 0.2.7 to 0.2.8
@@ -82,3 +82,5 @@ import { spyOn } from "tinyspy"; | ||
const spyFetch = spyOn(settings.global, settings.fetchKey); | ||
fetchPath = this.options.baseUrl + fetchPath; | ||
if (!(fetchPath instanceof RegExp)) { | ||
fetchPath = this.options.baseUrl + fetchPath; | ||
} | ||
function isRoute([input, options]) { | ||
@@ -85,0 +87,0 @@ const method = (options == null ? void 0 : options.method) || "GET"; |
{ | ||
"name": "vi-fetch", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "Easiest way to mock fetch", | ||
@@ -20,7 +20,7 @@ "main": "./dist/index.js", | ||
"./matchers": { | ||
"types": "./global.d.ts" | ||
"types": "./matchers.d.ts" | ||
}, | ||
"./setup": { | ||
"import": "./dist/setup.js", | ||
"types": "./global.d.ts" | ||
"types": "./matchers.d.ts" | ||
} | ||
@@ -27,0 +27,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24916
14
744