test: try to fix flakiness in amphtml util (#78304)
This PR modifies the AMP HTML testing util to avoid loading the validator from the network, which causes random test flakiness. I've also made it use the validator from `next/dist/compiled` to match what we do during builds. This means we can drop `amphtml-validator` from the root package.json.
Showing
| ... | @@ -144,7 +144,6 @@ | ... | @@ -144,7 +144,6 @@ |
| "@vercel/og": "0.6.8", | "@vercel/og": "0.6.8", | ||
| "abort-controller": "3.0.0", | "abort-controller": "3.0.0", | ||
| "alex": "9.1.0", | "alex": "9.1.0", | ||
| "amphtml-validator": "1.0.38", | |||
| "async-sema": "3.0.1", | "async-sema": "3.0.1", | ||
| "babel-plugin-react-compiler": "19.0.0-beta-e552027-20250112", | "babel-plugin-react-compiler": "19.0.0-beta-e552027-20250112", | ||
| "browserslist": "4.22.2", | "browserslist": "4.22.2", | ||
| ... | ... |
Please
register
or
sign in
to comment