rsnext/test/integration/invalid-custom-routes
JJ Kasper 65c22167c8
Ensure has segments are allowed in destination (#23588)
This ensures we gather segments from the experimental has field when validating segments used in the destination to prevent the invalid segments in the destination error from showing incorrectly. This usage has been added to the custom-routes test suite to ensure the segments are passed correctly from the has field. 

Fixes: https://github.com/vercel/next.js/issues/23415

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
2021-04-01 09:15:28 +00:00
..
pages Add checking of custom routes for invalid fields (#9434) 2019-12-10 09:54:56 -05:00
test Ensure has segments are allowed in destination (#23588) 2021-04-01 09:15:28 +00:00