-
Notifications
You must be signed in to change notification settings - Fork 786
[Feature Request] Insert dynamicVariables at mocked provider #2467
base: master
Are you sure you want to change the base?
Conversation
@gabrieluizramos: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/ |
@hwillson Hi! Could help me with this PR (and Feature request), please? :) |
Thanks for submitting this PR @gabrieluizramos. Unfortunately, this isn't something we're able to accept at this time. The matching of exact variables that are being sent in via the request, with variables that have been defined in the mocked response, is intentional and isn't something we want to support a workaround for at this time. To achieve the same functionality you're looking for in |
@gabrieluizramos We're interested in re-visiting this, so I'll re-open this PR. Instead of using the current |
@hwillson thank you for re-visiting this feature! I'm glad to help you guys 😄 |
@hwillson Hi there! Do you think that this still interesting for you guys? |
This PR updates
MockedProvider
test-link validation, inserting a new fielddynamicVariables
on the mockeds request array, such as:Providing an environment where dynamic variables are necessary in tests and storybooks using
MockedProvider
.As opened issue 2466