Files
wehub-resource-sync dbe3ade0dc
Enforce Pull-Request Rules / check (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 12:19:24 +08:00

16 lines
481 B
JavaScript

const deprecated = require("../../../js/deprecated");
describe("Deprecated", () => {
it("should be an object", () => {
expect(typeof deprecated).toBe("object");
});
it("should contain clock array with deprecated options as strings", () => {
expect(Array.isArray(["deprecated.clock"])).toBe(true);
for (let option of deprecated.configs) {
expect(typeof option).toBe("string");
}
expect(deprecated.clock).toEqual(expect.arrayContaining(["secondsColor"]));
});
});