Commit 4190094
authored
fix(e2e): Add p-map override to fix React Router 7 test builds (#18068)
Fixes ERR_REQUIRE_ESM error in React Router 7 E2E tests by pinning p-map
to v4 which supports CommonJS, resolving incompatibility with
@react-router/dev v7.5+ that uses require() instead of dynamic import().
React Router should fix this upstream, this is a workaround now.1 parent 296c1ca commit 4190094
File tree
2 files changed
+10
-0
lines changed- dev-packages/e2e-tests/test-applications
- react-router-7-framework-node-20-18
- react-router-7-framework-spa-node-20-18
2 files changed
+10
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
56 | 61 | | |
57 | 62 | | |
0 commit comments