Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allowMocked when using a callback for the path
When an Interceptor was created with a comparator for the path, the `matchOrigin` function was comparing the string equivalent of the function instead of evaluating it. I'm not a fan of the fact that the function `matchOrigin` is comparing the pathname, but that's a refactor for another day. Fixes: nock#1867
- Loading branch information