-
First thanks for this library 🙌 I wanted to ask what is the recommended approach for snapshot testing when using for example the Radio button that uses random values for name. Is it somehow possible to provide this value to |
Beta Was this translation helpful? Give feedback.
Answered by
diegohaz
Nov 26, 2020
Replies: 1 comment
-
You can pass useRadioState({ baseId: "my-base-id" }); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
diegohaz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can pass
baseId
touseRadioState
(it works for all modules that have random ids or names).