Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow regex and function for interceptor specs #1234

Closed
sindresorhus opened this issue Oct 4, 2018 · 2 comments
Closed

Allow regex and function for interceptor specs #1234

sindresorhus opened this issue Oct 4, 2018 · 2 comments

Comments

@sindresorhus
Copy link

Context

See #347.

For example:

 scope.get(new Regexp("/somePath[a-z0-9]+")).reply(/** **/);

Alternatives

None

Has the feature been requested before?

Yes, #347.

If the feature request is accepted, would you be willing to submit a PR?

No

@RichardLitt
Copy link
Member

Thanks, @sindresorhus. I'll reopen the old issue and pin it.

@lock
Copy link

lock bot commented Oct 18, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue and add a reference to this one if it’s related. Thank you!

@lock lock bot locked as resolved and limited conversation to collaborators Oct 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants