Replies: 1 comment
-
Hey @mccuna, have you checked test files of SpinButton, they should have increment/decrement: https://github.com/microsoft/fluentui/blob/master/packages/react-components/react-spinbutton/library/src/components/SpinButton/SpinButton.test.tsx |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I'm trying to test the decrement callback of a
SpinButton
, but it seems it's not called when I fire the click event on the decrement button. Am I missing something?I've also put together a codesandbox if it proves useful: https://codesandbox.io/s/trigger-splinbutton-decrement-g918h?file=/src/Sample.test.tsx.
Versions used:
Beta Was this translation helpful? Give feedback.
All reactions