Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed Apr 24, 2024
1 parent 439101e commit aad2546
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/spec/w3c/style-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ describe("W3C - Style", () => {
const doc = await getExportedDoc(await makeRSDoc(ops));
const url = "https://www.w3.org/StyleSheets/TR/2021/base";
const elem = doc.querySelector(`link[href^='${url}'][rel="stylesheet"]`);
const colorSchemaMeta = doc.querySelector("link[media='(prefers-color-scheme: dark)']");
const colorSchemaMeta = doc.querySelector(
"link[media='(prefers-color-scheme: dark)']"
);
expect(elem?.nextElementSibling).toBe(colorSchemaMeta);
expect(colorSchemaMeta?.nextElementSibling).toBe(null);
});
Expand Down

0 comments on commit aad2546

Please sign in to comment.