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
Add unit testing functionality to the component template in the MetaMask design system monorepo. This will involve setting up tests using the React Testing Library to ensure that all UI components are covered by unit tests during development.
Technical Details
Integrate React Testing Library into the component template within the MetaMask design system monorepo.
Create example unit tests for the existing component template as a reference for future component development.
Update the component template to automatically include unit tests for new components.
Ensure that unit tests are included in the CI pipeline for continuous testing and coverage.
Provide documentation or examples on writing unit tests for components in the design system.
Acceptance Criteria
React Testing Library is successfully integrated into the component template.
New components created using the template automatically include a basic unit test.
Unit tests should run automatically as part of the CI process, blocking code with failing tests from being merged. - Already does good to check
georgewrmarshall
changed the title
Add Unit Testing to Component Template Using React Testing Library in MetaMask Design System Monorepo
React UI: Add Unit Testing to Component Template Using Testing Library in MetaMask Design System Monorepo
Oct 3, 2024
Description
Add unit testing functionality to the component template in the MetaMask design system monorepo. This will involve setting up tests using the React Testing Library to ensure that all UI components are covered by unit tests during development.
Technical Details
Acceptance Criteria
References
The text was updated successfully, but these errors were encountered: