Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for read and write hooks #33

Open
achou11 opened this issue Jan 13, 2025 · 0 comments
Open

Add tests for read and write hooks #33

achou11 opened this issue Jan 13, 2025 · 0 comments

Comments

@achou11
Copy link
Member

achou11 commented Jan 13, 2025

Most of the work so far lives on this branch. I've committed to taking a data-first approach for now as it feels more straightforward, despite react testing library's preference for DOM-oriented testing. Been running into some annoying issues around React Query updates sometimes not being applied and available within a test, but otherwise things seem to work as expected.

There's going to be a good amount of overlap with how the e2e tests in core work. The one difference that I want to make sure is tested here is the end-user hook APIs we land on and making sure the behaviors of these hooks (e.g. invalidation, state updates, etc) are expected

@achou11 achou11 changed the title Addt tests for read and write hooks Add tests for read and write hooks Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant