Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary & motivation
This is a rebase with a few updated unit tests, forked from #585 (original PR by @bagedevimo). It also updates the Storybook React dependency from v6 to v9 to allow us to move up to React v19. I attempted to run the Storybook codemods but no possible migrations were detected, nor is the core Storybook package a part of the project, so my confidence in Storybook working with this is slim. But it's not blocking React 19 now at least.
Original PR summary and documentation:
Testing & documentation
Existing unit tests were updated to work with the new React 19 patterns. A few tests actually removed original spies as the execution of the test without exception is enough to prove that those test cases pass. Two tests remain failing, likely due to significant changes in promise/async resolution in React 19.