We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0898893 commit c218012Copy full SHA for c218012
1 file changed
test/styles.test.ts
@@ -162,7 +162,10 @@ describe("CSS (テーマ: light)", () => {
162
});
163
164
it("td.gce-code に基本テキスト色の CSS 変数を含む", () => {
165
- expect(CSS).toContain("color: var(--gce-code-text)");
+ const selectorIdx = CSS.indexOf("td.gce-code");
166
+ const colorIdx = CSS.indexOf("color: var(--gce-code-text)");
167
+ expect(selectorIdx).toBeGreaterThan(-1);
168
+ expect(colorIdx).toBeGreaterThan(selectorIdx);
169
170
171
it("scrollbar-color サポートブラウザ向けの @supports ブロックを含む", () => {
0 commit comments