MagicMirror/tests/unit/classes/deprecated_spec.js
Veeck abb5dc5739 Run prettier over ALL files once
No other changes done in this commit
2020-05-11 22:22:32 +02:00

17 lines
500 B
JavaScript

const expect = require("chai").expect;
const deprecated = require("../../../js/deprecated");
describe("Deprecated", function () {
it("should be an object", function () {
expect(deprecated).to.be.an("object");
});
it("should contain configs array with deprecated options as strings", function () {
expect(deprecated.configs).to.be.an("array");
for (let option of deprecated.configs) {
expect(option).to.be.an("string");
}
expect(deprecated.configs).to.include("kioskmode");
});
});