Skip to content

Commit 45cbf2d

Browse files
committed
fix formatting of tests
1 parent 9edb5e8 commit 45cbf2d

12 files changed

+15
-0
lines changed

tests/e2e/custom_module_regions_spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ describe("Custom Position of modules", () => {
1010
await helpers.getDocument();
1111
page = helpers.getPage();
1212
});
13+
1314
afterAll(async () => {
1415
await helpers.stopApplication();
1516
await helpers.restoreIndex();

tests/e2e/env_spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ describe("App environment", () => {
99
await helpers.getDocument();
1010
page = helpers.getPage();
1111
});
12+
1213
afterAll(async () => {
1314
await helpers.stopApplication();
1415
});

tests/e2e/fonts_spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ describe("All font files from roboto.css should be downloadable", () => {
1616
beforeAll(async () => {
1717
await helpers.startApplication("tests/configs/without_modules.js");
1818
});
19+
1920
afterAll(async () => {
2021
await helpers.stopApplication();
2122
});

tests/e2e/ipWhitelist_spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ describe("ipWhitelist directive configuration", () => {
55
beforeAll(async () => {
66
await helpers.startApplication("tests/configs/noIpWhiteList.js");
77
});
8+
89
afterAll(async () => {
910
await helpers.stopApplication();
1011
});
@@ -20,6 +21,7 @@ describe("ipWhitelist directive configuration", () => {
2021
beforeAll(async () => {
2122
await helpers.startApplication("tests/configs/empty_ipWhiteList.js");
2223
});
24+
2325
afterAll(async () => {
2426
await helpers.stopApplication();
2527
});

tests/e2e/modules/compliments_spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ describe("Compliments module", () => {
104104
await helpers.getDocument();
105105
page = helpers.getPage();
106106
});
107+
107108
it("shows 'Remote compliment file works!' as only anytime list set", async () => {
108109
//await helpers.startApplication("tests/configs/modules/compliments/compliments_file.js", "01 Jan 2022 10:00:00 GMT");
109110
await doTest(["Remote compliment file works!"]);
@@ -119,6 +120,7 @@ describe("Compliments module", () => {
119120
await helpers.getDocument();
120121
page = helpers.getPage();
121122
});
123+
122124
it("shows 'test in morning' as test time set to 10am", async () => {
123125
//await helpers.startApplication("tests/configs/modules/compliments/compliments_file_change.js", "01 Jan 2022 10:00:00 GMT");
124126
await doTest(["Remote compliment file works!"]);

tests/e2e/modules_display_spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ describe("Display of modules", () => {
99
await helpers.getDocument();
1010
page = helpers.getPage();
1111
});
12+
1213
afterAll(async () => {
1314
await helpers.stopApplication();
1415
});

tests/e2e/modules_empty_spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ describe("Check configuration without modules", () => {
99
await helpers.getDocument();
1010
page = helpers.getPage();
1111
});
12+
1213
afterAll(async () => {
1314
await helpers.stopApplication();
1415
});

tests/e2e/modules_position_spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ describe("Position of modules", () => {
77
await helpers.startApplication("tests/configs/modules/positions.js");
88
await helpers.getDocument();
99
});
10+
1011
afterAll(async () => {
1112
await helpers.stopApplication();
1213
});

tests/e2e/port_spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ describe("port directive configuration", () => {
55
beforeAll(async () => {
66
await helpers.startApplication("tests/configs/port_8090.js");
77
});
8+
89
afterAll(async () => {
910
await helpers.stopApplication();
1011
});
@@ -20,6 +21,7 @@ describe("port directive configuration", () => {
2021
beforeAll(async () => {
2122
await helpers.startApplication("tests/configs/port_8090.js", (process.env.MM_PORT = 8100));
2223
});
24+
2325
afterAll(async () => {
2426
await helpers.stopApplication();
2527
});

tests/e2e/serveronly_spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ describe("App environment", () => {
2020
// we have to wait until the server is started
2121
await delay(2000);
2222
});
23+
2324
afterAll(async () => {
2425
await process.kill(-serverProcess.pid);
2526
});

0 commit comments

Comments
 (0)