function getBundledAmpValidatorFilepath() {
  return require.resolve(
    'next/dist/compiled/amphtml-validator/validator_wasm.js'
  )
}
Use the same validator that we use for builds.
This avoids trying to load one from the network, which can cause random test flakiness.
(duplicated from 'packages/next/src/export/helpers/get-amp-html-validator.ts')