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

Testing related #2

Open
vedovato opened this issue Sep 11, 2023 · 0 comments
Open

Testing related #2

vedovato opened this issue Sep 11, 2023 · 0 comments

Comments

@vedovato
Copy link

Hey, thanks for providing this repo as a guide. I was wondering if you have any tip for testing components using this architecture where the component uses a generated hook to conditionally render it's content?

I am looking for ways to spy/mock the hook response and assert if it displays the post list or a not found message.

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