mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
17 lines
497 B
JavaScript
17 lines
497 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");
|
|
});
|
|
});
|