Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit 3dcc48a

Browse files
committed
test(e2e): Wait more time for server to be started
1 parent 509dda4 commit 3dcc48a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

test/e2e/alerts-api.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe("alerts api", () => {
2020
cli = new CliRunner(["node", "start.js", "--path=files-watch", "--behavior=foo"], {
2121
cwd: path.resolve(__dirname, "fixtures"),
2222
});
23-
await wait(1000);
23+
await wait(2000);
2424
});
2525

2626
afterAll(async () => {

test/e2e/deprecated-core-events.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ describe("Plugin listening to core events", () => {
2828
cli = new CliRunner(["node", "start-files-watch.js"], {
2929
cwd: path.resolve(__dirname, "fixtures"),
3030
});
31-
await wait(1000);
31+
await wait(2000);
3232
});
3333

3434
afterAll(async () => {

test/e2e/plugin-options.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe("plugin options", () => {
6565
cwd: path.resolve(__dirname, "fixtures"),
6666
}
6767
);
68-
await wait(1000);
68+
await wait(2000);
6969
});
7070

7171
afterAll(async () => {

test/e2e/settings-logs-api.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe("log option modified through api", () => {
1818
cli = new CliRunner(["node", "start.js", "--path=web-tutorial", "--log=info"], {
1919
cwd: path.resolve(__dirname, "fixtures"),
2020
});
21-
await wait(1000);
21+
await wait(2000);
2222
});
2323

2424
afterAll(async () => {

test/e2e/settings-watch-api.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe("watch option modified through api", () => {
2020
cli = new CliRunner(["node", "start.js", "--path=files-watch", "--watch=false"], {
2121
cwd: path.resolve(__dirname, "fixtures"),
2222
});
23-
await wait(1000);
23+
await wait(2000);
2424
});
2525

2626
afterAll(async () => {

0 commit comments

Comments
 (0)