rsnext/test/integration/amphtml/pages/only-amp.js
Jan Potoms 2f50f1f8c9
Stabilize more tests (#15470)
jest retries seem to be masking test failures, like the `auto-export` one (and maybe others). I turned it off for now. The `auto-export` test fails when retries are turned off.
the output of this test failure was a bit unhelpful so I also improved it.
Many tests have anonymous page functions.
2020-07-26 04:57:06 +00:00

9 lines
154 B
JavaScript

export const config = { amp: true }
export default function Page() {
return (
<div>
<p id="only-amp">Only AMP for me...</p>
</div>
)
}