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.

deprecated_spec.js 502B

123456789101112131415
  1. const deprecated = require("../../../js/deprecated");
  2. describe("Deprecated", function () {
  3. it("should be an object", function () {
  4. expect(typeof deprecated).toBe("object");
  5. });
  6. it("should contain configs array with deprecated options as strings", function () {
  7. expect(Array.isArray(["deprecated.configs"])).toBe(true);
  8. for (let option of deprecated.configs) {
  9. expect(typeof option).toBe("string");
  10. }
  11. expect(deprecated.configs).toEqual(expect.arrayContaining(["kioskmode"]));
  12. });
  13. });