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.

defaults_modules_spec.js 517B

1234567891011121314
  1. const fs = require("fs");
  2. const path = require("path");
  3. const root_path = path.join(__dirname, "../../..");
  4. describe("Default modules set in modules/default/defaultmodules.js", function () {
  5. const expectedDefaultModules = require("../../../modules/default/defaultmodules");
  6. for (const defaultModule of expectedDefaultModules) {
  7. it(`contains a folder for modules/default/${defaultModule}"`, function () {
  8. expect(fs.existsSync(path.join(root_path, "modules/default", defaultModule))).toBe(true);
  9. });
  10. }
  11. });