-
Notifications
You must be signed in to change notification settings - Fork 12
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 unit tests #31
Comments
once done, add it to the CI workflow (.github/workflows/ci.js.yml) |
Tests to writeHigh levelUsers see journeys, so test that each journey and the most common multi-step journeys render without error.
@xavier Could you add in / correct the list of journeys? Thanks! ComponentsRenderingDo components render with the expected values / elements? Components might need a customRender to be tested https://testing-library.com/docs/react-testing-library/setup#custom-render BehavioursDo the messages update when the amount changes? do errors get displayed. IntegrationDoes the GraphQL mutation get sent when it should? Can the code handle the messages it will get? i18nAre there missing translations?
|
I'm starting in on these in the branch https://github.com/fixthestatusquo/proca/tree/feature/unit-tests |
Any update? do you need help? |
Ah I totally forgot about this since vacation! If you have time - go for it. |
are they still to take from the branch or can we just keep the list? (the branch is "a bit" behind ;) |
unit tests (jest seems to be the trendy framework this week) and e2e ones
The text was updated successfully, but these errors were encountered: