From 22f299b881ecb01e9988e9717a9e861b77e07171 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Thu, 25 Apr 2024 22:02:11 +1000 Subject: [PATCH] fixup --- tests/spec/w3c/style-spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spec/w3c/style-spec.js b/tests/spec/w3c/style-spec.js index 553d2707b5..6bff255fa5 100644 --- a/tests/spec/w3c/style-spec.js +++ b/tests/spec/w3c/style-spec.js @@ -202,7 +202,7 @@ describe("W3C - Style", () => { const url = "https://www.w3.org/StyleSheets/TR/2021/base"; const elem = doc.querySelector(`link[href^='${url}'][rel="stylesheet"]`); expect(elem).toBeTruthy(); - expect(elem?.nextElementSibling).toBe(null); + expect(elem.nextElementSibling).toBe(null); }); it("respects existing color scheme", async () => {