diff --git a/test/index.test.js b/test/index.test.js index 1ca969b3b..c1a71bea3 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -66,7 +66,7 @@ describe("index.css", () => { it("sets
background to #00b3e6", () => { const rule = findRule(css.cssRules, "body"); const hint = "Missing background property for body"; - expect(rule.style["background"], hint).to.eq("#00b3e6"); + expect(rule.style["background"]|| rule.style["background-color"], hint).to.eq("#00b3e6"); }); it("has a rule for