Summary
All 4 React projects include @testing-library/react (13.4.0), @testing-library/jest-dom (5.17.0), and @testing-library/user-event (13.5.0). These are 3 major versions behind the latest (@testing-library/react is now at 16.3.2).
However, there are no actual test files in any of the projects — these dependencies appear to be unused scaffolding from Create React App.
Affected Packages
moonpay-react-buy/package.json
moonpay-react-sell/package.json
moonpay-react-sell-oninitiatedeposit/react-widget-integration/package.json
moonpay-react-sell-oninitiatedeposit/hosted-wallet-page/package.json
Options
- Remove them entirely — no tests exist, removes unnecessary bloat (recommended)
- Upgrade to latest — if tests are planned in the near future
Acceptance Criteria
Summary
All 4 React projects include
@testing-library/react(13.4.0),@testing-library/jest-dom(5.17.0), and@testing-library/user-event(13.5.0). These are 3 major versions behind the latest (@testing-library/reactis now at 16.3.2).However, there are no actual test files in any of the projects — these dependencies appear to be unused scaffolding from Create React App.
Affected Packages
moonpay-react-buy/package.jsonmoonpay-react-sell/package.jsonmoonpay-react-sell-oninitiatedeposit/react-widget-integration/package.jsonmoonpay-react-sell-oninitiatedeposit/hosted-wallet-page/package.jsonOptions
Acceptance Criteria
@testing-library/*deps from all 4 React projects@testing-library/react16+ requires@testing-library/domas a peer depnpm installcompletes without errors