We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d060ed commit 2b42431Copy full SHA for 2b42431
test/e2e/client.test.js
@@ -42,10 +42,6 @@ describe("client option", () => {
42
await server.stop();
43
});
44
45
- it("overlay should be true by default", () => {
46
- expect(server.options.client.overlay).toBe(true);
47
- });
48
-
49
it("responds with a 200 status code for /ws path", async () => {
50
page
51
.on("console", (message) => {
@@ -59,6 +55,9 @@ describe("client option", () => {
59
55
waitUntil: "networkidle0",
60
56
61
57
58
+ // overlay should be true by default
+ expect(server.options.client.overlay).toBe(true);
+
62
expect(response.status()).toMatchSnapshot("response status");
63
64
expect(consoleMessages.map((message) => message.text())).toMatchSnapshot(
0 commit comments