Skip to content

Commit 64684b5

Browse files
committed
fix: ci for windows
1 parent 7175b19 commit 64684b5

File tree

3 files changed

+4
-28
lines changed

3 files changed

+4
-28
lines changed

test/e2e/__snapshots__/https.test.js.snap.webpack4

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,6 @@ exports[`https option as an object when cacert, pfx, key and cert are raw string
3333
"
3434
`;
3535

36-
exports[`https option as an object when cacert, pfx, key and cert are symlinks should handle GET request to index route (/): console messages 1`] = `Array []`;
37-
38-
exports[`https option as an object when cacert, pfx, key and cert are symlinks should handle GET request to index route (/): page errors 1`] = `Array []`;
39-
40-
exports[`https option as an object when cacert, pfx, key and cert are symlinks should handle GET request to index route (/): response status 1`] = `200`;
41-
42-
exports[`https option as an object when cacert, pfx, key and cert are symlinks should handle GET request to index route (/): response text 1`] = `
43-
"Heyo.
44-
"
45-
`;
46-
4736
exports[`https option boolean should handle GET request to index route (/): console messages 1`] = `Array []`;
4837

4938
exports[`https option boolean should handle GET request to index route (/): page errors 1`] = `Array []`;

test/e2e/__snapshots__/https.test.js.snap.webpack5

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,6 @@ exports[`https option as an object when cacert, pfx, key and cert are raw string
3333
"
3434
`;
3535

36-
exports[`https option as an object when cacert, pfx, key and cert are symlinks should handle GET request to index route (/): console messages 1`] = `Array []`;
37-
38-
exports[`https option as an object when cacert, pfx, key and cert are symlinks should handle GET request to index route (/): page errors 1`] = `Array []`;
39-
40-
exports[`https option as an object when cacert, pfx, key and cert are symlinks should handle GET request to index route (/): response status 1`] = `200`;
41-
42-
exports[`https option as an object when cacert, pfx, key and cert are symlinks should handle GET request to index route (/): response text 1`] = `
43-
"Heyo.
44-
"
45-
`;
46-
4736
exports[`https option boolean should handle GET request to index route (/): console messages 1`] = `Array []`;
4837

4938
exports[`https option boolean should handle GET request to index route (/): page errors 1`] = `Array []`;

test/e2e/https.test.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,15 +280,13 @@ describe("https option", () => {
280280
waitUntil: "networkidle0",
281281
});
282282

283-
expect(response.status()).toMatchSnapshot("response status");
283+
expect(response.status()).toEqual(200);
284284

285-
expect(await response.text()).toMatchSnapshot("response text");
285+
expect(await response.text()).toContain("Heyo");
286286

287-
expect(consoleMessages.map((message) => message.text())).toMatchSnapshot(
288-
"console messages"
289-
);
287+
expect(consoleMessages.map((message) => message.text())).toEqual([]);
290288

291-
expect(pageErrors).toMatchSnapshot("page errors");
289+
expect(pageErrors).toEqual([]);
292290
});
293291
});
294292

0 commit comments

Comments
 (0)