You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Intended outcome:
Use components at storybook, mocking a response for a mutation based on dynamic variables (e.g: using HoC that updates the variables and refetch the mutation)
Actual outcome:
Was throwing an error like no mocked responses for the query
How to reproduce the issue:
Creating a component with MockedProvider and using dynamic values as variables, such as: https://codesandbox.io/s/w27mz5r44w
Intended outcome:
Use components at storybook, mocking a response for a mutation based on dynamic variables (e.g: using HoC that updates the variables and refetch the mutation)
Actual outcome:
Was throwing an error like
no mocked responses for the query
How to reproduce the issue:
Creating a component with
MockedProvider
and using dynamic values as variables, such as:https://codesandbox.io/s/w27mz5r44w
Version
Maybe, creating some kind of
dynamicVariables
inside the mocks array for mockedProvider would be a nice way to help these cases, as PR 2467The text was updated successfully, but these errors were encountered: