next.js
f2839a13 - Combine dynamic-routing tests into single file with describe.each

Commit
89 days ago
Combine dynamic-routing tests into single file with describe.each - Merged index.test.ts and middleware.test.ts into a single test file - Used describe.each([{ withMiddleware: false }, { withMiddleware: true }]) to run tests with and without middleware - Replaced process.env.__MIDDLEWARE_TEST checks with withMiddleware parameter - This eliminates test duplication in CI and makes the test suite structure clearer Co-authored-by: Sebastian "Sebbie" Silbermann <silbermann.sebastian@gmail.com>
Author
Parents
Loading