-
-
Notifications
You must be signed in to change notification settings - Fork 733
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug(overrider): unmocked HTTPS request with partial interceptor match (…
…#1664) Fixes: #1422 The `allowUnmocked` option is processed in two places. Once in the intercept when there are no interceptors that come close to matching the request. And again in the overrider when there are interceptors that partially match, eg just path, but don't completely match. This fixes and explicitly tests the later case in the overrider by making an HTTPS request for a path that has an interceptor but fails to match the query constraint.
- Loading branch information
1 parent
11dba99
commit 870584b
Showing
2 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters