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

[feature] support regex in fixtures #2333

Open
1 of 2 tasks
kaminskypavel opened this issue Apr 8, 2022 · 0 comments
Open
1 of 2 tasks

[feature] support regex in fixtures #2333

kaminskypavel opened this issue Apr 8, 2022 · 0 comments
Labels

Comments

@kaminskypavel
Copy link

Please avoid duplicates

Context

atm using nock.back will dump the exact request to a fixture file, this resolves in saving sensitive data such as

"scope": "https://graph.facebook.com:443",
"method": "get",
"path": "/v13.0/me?fields=id,name,picture,email&access_token=some-dummy-token", <-----------------

it'd be great if we can at least manually change the fixtures to support a wildcard asterisk (*)

related to #300 which dates back to 2015

Alternatives

manually changing the fixtures...

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

  • yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant