-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Task]: Frontend tests for server components (search page, page not found) #1393
Comments
@rylew1 can we move this to: https://github.com/HHS/simpler-grants-gov/milestone/155 since it is something we want to do before closing this line of work but is not blocking users from testing the search page? |
We used to have these: https://github.com/HHS/simpler-grants-gov/blob/2024.5.13-1/frontend/tests/pages/404.test.tsx We removed the page tests for e2e because of an error with The weird thing is is that the pages don't appear to be client components and can't figure out why the test suite thinks they are. I created an example in this branch https://github.com/HHS/simpler-grants-gov/commits/acouch/issue-1393-page-jest-tests/
|
Summary
search.test.tsx
Acceptance criteria
search.test.tsx
successfully tests against a server componentnot-found.test.tsx
tests against server componentNotes
The text was updated successfully, but these errors were encountered: