Commit 0daf667
authored
Fix typed routes test expectations (#86487)
Follow up to #86273
The typed routes test was checking for `/project/[slug]` in the
`RedirectRoutes` type, but this route doesn't actually exist in the test
fixture anymore. The test fixture only has redirects defined for
`/blog/[category]/[[...slug]]`.
When Next.js generates the typed routes during the build, it only
includes routes that actually exist in the project structure. The test
was expecting a route that wasn't present, which would cause the test to
fail if the generated types were correct.
This removes `/project/[slug]` from the expected `RedirectRoutes` type
so the test expectations match what's actually generated.
Also includes a minor formatting fix in
`apps/bundle-analyzer/next-env.d.ts` to use consistent semicolons and
double quotes per the project's style guidelines.1 parent 39440fc commit 0daf667
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments