2f50f1f8c9
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.
9 lines
154 B
JavaScript
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>
|
|
)
|
|
}
|