Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

without_modules.js 758B

1234567891011121314151617181920212223
  1. const helpers = require("./global-setup");
  2. describe("Check configuration without modules", function () {
  3. beforeAll(function (done) {
  4. helpers.startApplication("tests/configs/without_modules.js");
  5. helpers.getDocument(done, 1000);
  6. });
  7. afterAll(function () {
  8. helpers.stopApplication();
  9. });
  10. it("Show the message MagicMirror title", function () {
  11. const elem = document.querySelector("#module_1_helloworld .module-content");
  12. expect(elem).not.toBe(null);
  13. expect(elem.textContent).toContain("Magic Mirror2");
  14. });
  15. it("Show the text Michael's website", function () {
  16. const elem = document.querySelector("#module_5_helloworld .module-content");
  17. expect(elem).not.toBe(null);
  18. expect(elem.textContent).toContain("www.michaelteeuw.nl");
  19. });
  20. });