Skip to content

Commit 760ccb4

Browse files
chore(react-router): cleanup test setup (#13724)
* chore(react-router): cleanup test setup * Reset back to manual node global patching --------- Co-authored-by: Matt Brophy <[email protected]>
1 parent f668100 commit 760ccb4

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

integration/form-test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,11 +1102,7 @@ test.describe("Forms", () => {
11021102

11031103
test("empty file inputs resolve to File objects on the server", async ({
11041104
page,
1105-
channel,
11061105
}) => {
1107-
// TODO: Look into this test failing on windows
1108-
test.skip(channel === "msedge", "Fails on windows with undici");
1109-
11101106
let app = new PlaywrightFixture(appFixture, page);
11111107

11121108
await app.goto("/empty-file-upload");

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
"eslint-plugin-react-hooks": "next",
7676
"isbot": "^5.1.11",
7777
"jest": "^29.6.4",
78-
"jest-environment-jsdom": "^29.6.2",
7978
"jsonfile": "^6.1.0",
8079
"prettier": "^2.8.8",
8180
"prompts": "^2.4.2",

packages/react-router/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
"@testing-library/react": "^16.3.0",
132132
"@testing-library/user-event": "^14.6.1",
133133
"@types/set-cookie-parser": "^2.4.1",
134+
"jest-environment-jsdom": "^29.6.2",
134135
"react": "^19.1.0",
135136
"react-dom": "^19.1.0",
136137
"react-test-renderer": "^19.1.0",

pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)