@netlify/next-runtime v5.0.0-alpha.25
Next.js Runtime
Next.js is supported natively on Netlify, and in most cases you will not need to install or configure anything. This repo includes the packages used to support Next.js on Netlify.
Testing
Integration testing
How to add new integration test scenarios to the application:
- Create a new folder under
tests/fixtures/<your-name>
- Adapt the
next.config.js
to be a standalone application - Create a
postinstall
script that runs thenext build
. It's important to notice that the integration tests rely on a already built next.js application in this folder. They rely on the.next
folder. - Add your test
Currently the tests require a built version of the
dist/run/handlers/cache.cjs
so you need to runnpm run build
before executing the integration tests. In addition, the integration tests need to be prepared before first use. You can do this by runningnpm run pretest
.
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
2 years ago