You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue have been completed by @leetdev, due to a bug on Gitcoin, bounty was paid out manually. Ticket is to be closed after response from Gitcoin support team.
Goal
Setup and integrate jest and React Testing Library into algoworld-swapper that would work with typescript, nextjs and playwright without compatibility issues or over bloating config files at the root folder.
After the integration is ready, implement at least 1 unit and component test for a page and helper method in utils folder of your preference to showcase this initial testing setup.
After those initial tests are written, make sure to update the CIgithub action workflow to trigger unit tests on each PR.
Make sure that test execution from CI produces artifacts for coverage reporting.
Further notes
When goal is completed, submit a PR against master branch, make sure to fill the PR template and describe the changes in detail. If you picked up this issue and something isn't clear simply leave a comment and tag me in the issue and Ill reach out with clarifications.
If you have proposal for an alternative framework for testing for this stack, please suggest in the comment to the issue.
The text was updated successfully, but these errors were encountered:
aorumbayev
changed the title
Integrate jest and write initial batch of unit tests for utils folder
Integrate jest and write initial batch of unit tests for utils folder
Jun 11, 2022
aorumbayev
changed the title
Integrate jest and write initial batch of unit tests for utils folder
Setup initial jest integration that would work nicely with next.js, typescript and playwright
Jun 21, 2022
aorumbayev
changed the title
Setup initial jest integration that would work nicely with next.js, typescript and playwright
Setup foundation for unit and component tests that would work nicely with next.js, typescript and playwright
Jun 21, 2022
Goal
Setup and integrate
jest
andReact Testing Library
intoalgoworld-swapper
that would work with typescript, nextjs and playwright without compatibility issues or over bloating config files at the root folder.After the integration is ready, implement at least 1 unit and component test for a page and helper method in
utils
folder of your preference to showcase this initial testing setup.After those initial tests are written, make sure to update the
CI
github action workflow to trigger unit tests on each PR.Make sure that test execution from CI produces artifacts for coverage reporting.
Further notes
When goal is completed, submit a PR against master branch, make sure to fill the PR template and describe the changes in detail. If you picked up this issue and something isn't clear simply leave a comment and tag me in the issue and Ill reach out with clarifications.
If you have proposal for an alternative framework for testing for this stack, please suggest in the comment to the issue.
The text was updated successfully, but these errors were encountered: