mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-22 05:07:05 +00:00
run prettier
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
const helpers = require("./global-setup");
|
||||
|
||||
|
||||
|
||||
|
||||
describe("Display of modules", function () {
|
||||
helpers.setupTimeout(this);
|
||||
|
||||
@@ -30,12 +27,12 @@ describe("Display of modules", function () {
|
||||
|
||||
it("should show the test header", async () => {
|
||||
const elem = await app.client.$("#module_0_helloworld .module-header", 10000);
|
||||
return (elem.getText("#module_0_helloworld .module-header") === "TEST_HEADER");
|
||||
return elem.getText("#module_0_helloworld .module-header") === "TEST_HEADER";
|
||||
});
|
||||
|
||||
it("should show no header if no header text is specified", async () => {
|
||||
const elem = await app.client.$("#module_1_helloworld .module-header", 10000);
|
||||
return (elem.getText("#module_1_helloworld .module-header") === false);
|
||||
return elem.getText("#module_1_helloworld .module-header") === false;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user