Follow-up to https://github.com/vercel/next.js/pull/59822 adding an additional test case. Closes NEXT-1918
If a user accidentally configures a non-valid `revalidate` value this ensures we show a proper error message instead of silently tolerating it. Closes: NEXT-1896 Closes NEXT-1915