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
I am trying to set up this custom matcher in one of my projects, but I cannot make the --updateSnapshot flag to work.
I read this in the limitations:
In order to handle the --updateSnapshot (-u) parameter provided from CLI, there is an abuse of the SnapshotState._updateSnapshot private field. TBD - try to use the globalConfig to get this state.
But it is not still clear to me what should I do. I tried to set up that value in a globalConfig but it didn‘t work. Could it be possible to create a section with clear steps to achieve this?
Regards and thanks in advance.
The text was updated successfully, but these errors were encountered:
Now reading well the limitation, it seems that it is just to "get the state" not to "set it". I just installed the plugin, tried the -u flag and it seems to be working OK, so closing this issue :)
Hello,
I am trying to set up this custom matcher in one of my projects, but I cannot make the
--updateSnapshot
flag to work.I read this in the limitations:
But it is not still clear to me what should I do. I tried to set up that value in a
globalConfig
but it didn‘t work. Could it be possible to create a section with clear steps to achieve this?Regards and thanks in advance.
The text was updated successfully, but these errors were encountered: