Skip to content

Commit f4c7d08

Browse files
committed
chore: fix tests on windows
1 parent 24fc9f7 commit f4c7d08

3 files changed

+2
-5
lines changed

test/e2e/__snapshots__/history-api-fallback.test.js/historyApiFallback-option-in-memory-files-should-perform-HEAD-request-in-same-way-as-GET-status-text-snap.webpack5

-1
This file was deleted.

test/e2e/__snapshots__/history-api-fallback.test.js/historyApiFallback-option-in-memory-files-should-perform-HEAD-request-in-same-way-as-GET-text-snap.webpack5

-1
This file was deleted.

test/e2e/history-api-fallback.test.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -636,9 +636,8 @@ test.describe("historyApiFallback option", () => {
636636
"content type",
637637
);
638638

639-
expect(responseGet.statusText).toMatchSnapshotWithArray("status text");
640-
641-
expect(responseGet.text).toMatchSnapshotWithArray("text");
639+
expect(responseGet.statusText).toEqual("OK");
640+
expect(responseGet.text).toEqual("In-memory file\n");
642641

643642
const responseHead = await page.evaluate(async () => {
644643
const response = await fetch("/foo", { method: "HEAD" });

0 commit comments

Comments
 (0)