Commit 3fb632a
committed
web: fix ReferenceError after React Router v7 migration
After migrating to React Router v7, the test suite fails with the
following error:
> ReferenceError: TextEncoder is not defined
This appears to be due to an unimplemented TextEncoder in jsdom. To
resolve this, we follow the same workaround as React Router, as outlined
in remix-run/react-router#12363 (comment)1 parent 706160d commit 3fb632a
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments