Порівняти коміти

...
1 Коміти
Автор SHA1 Повідомлення Дата
arookieofc 5ee7c32db4 test(e2e): take the first 'Plain PHP documentation' token
The locator resolves to two leaf spans — the comment tokenizes as
multiple spans — so the strict-mode expect flakes. Every other
multi-match token in the spec already uses .first().
2026-11-13 02:30:41 +08:00
+1 -1
Переглянути файл
@@ -54,7 +54,7 @@ test("imported PHP colours stay separate from Java and preserve regular text on
await expect(token("'Palette'")).toHaveCSS("color", "rgb(255, 231, 146)");
await expect(token("'Palette'")).toHaveCSS("font-weight", "400");
await expect(token("class").first()).toHaveCSS("color", "rgb(249, 38, 114)");
await expect(token("Plain PHP documentation")).toHaveCSS("font-style", "normal");
await expect(token("Plain PHP documentation").first()).toHaveCSS("font-style", "normal");
await expect(token("BasePalette")).toHaveCSS("color", "rgb(174, 129, 255)");
await expect(token(";").first()).toHaveCSS("color", "rgb(255, 255, 255)");
await expect(token("example")).toHaveCSS("color", "rgb(141, 225, 45)");