Automated test quality enforcement and bug detection for MetaMask Mobile React Native codebase
- ALWAYS load and reference unit testing guidelines
- Verify test file naming pattern:
*.test.{ts,tsx,js,jsx} - Check for proper Jest/React Native Testing Library imports
Use the rules in the unit testing guidelines to enforce the test quality and bug detection.
- ALWAYS load and reference e2e-testing-guidelines
- Verify test file naming pattern:
e2e/specs/**/*.spec.{js,ts} - Check for proper imports and framework utilities from
tests/framework/index.ts
Use the rules in the e2e-testing-guidelines to enforce the test quality and bug detection.
- ALWAYS load and reference component-view-testing
- Verify test file naming pattern:
**/*.view.test.{ts,tsx,js,jsx} - Check for proper use of presets and renderers from
app/util/test/component-view/
Use the rules in the component-view-testing to enforce the test quality and bug detection.