Flexible production-grade boilerplate with Next.js 11, Vercel and TypeScript. Includes multiple opt-in presets using Storybook, Airtable, GraphQL, Analytics, CSS-in-JS, Monitoring, End-to-end testing, Internationalization, CI/CD and SaaS B2B multi single-tenancy (monorepo) support
I had tried to add more SSG tests like that for the server, but Vercel crashes during build and the whole build fails, so it's not possible to write meant-to-crash tests like that (hence the focus on the client, or maybe necessary to build those as SSR pages, but that'd count toward the 12 severless functions limit 😞 )
It's very likely that we may not add any more meaningful tests. But if it's possible to cover more use cases then it'd be a good thing.
See https://github.com/lfades/next.js/tree/7b64cae6814fbc2a174632fe7833bba239bf9fd1/examples/with-sentry-simple
Most interesting tests are
client/
I had tried to add more SSG tests like that for the server, but Vercel crashes during build and the whole build fails, so it's not possible to write meant-to-crash tests like that (hence the focus on the client, or maybe necessary to build those as SSR pages, but that'd count toward the 12 severless functions limit 😞 )
It's very likely that we may not add any more meaningful tests. But if it's possible to cover more use cases then it'd be a good thing.