Commit cdf0bcf
test(e2e): Type-check the react-router-7-router-entry app
The v7 router-entry app only ran Playwright and its tsconfig used
`moduleResolution: "node"`, which ignores the package `exports` map and so
cannot resolve the `@sentry/react/router` subpath types - meaning it never
type-checked the new API, unlike the v6/v8 apps. Switch it to
`moduleResolution: "bundler"` and run `tsc --noEmit` in `test:assert`, matching
the other two. Verified locally that all three (v6/v7/v8) type-check against
their respective React Router major.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 25dfebd commit cdf0bcf
2 files changed
Lines changed: 3 additions & 2 deletions
File tree
- dev-packages/e2e-tests/test-applications/react-router-7-router-entry
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments