Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Expand coverage of sourcemap validator (#25115)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** The sourcemap validator script has been updated to cover all build files. This better protects against sourcemap errors. The file `offscreen-0.js` is optionally validated. It is expected to be missing in MV2 builds. One file is still skipped because validation is failing (`sentry-install.js`). [](https://codespaces.new/MetaMask/metamask-extension/pull/25115?quickstart=1) ## **Related issues** N/A ## **Manual testing steps** * Run `yarn dist` * Run `yarn validate-source-maps`, and see that it succeeds. ## **Screenshots/Recordings** N/A ## **Pre-merge author checklist** - [x] I’ve followed [MetaMask Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I’ve included tests if applicable - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
- Loading branch information