refactor: canonicalize TypeScript and Tailwind syntax
This commit is contained in:
@@ -160,7 +160,7 @@ describe("chat Tailwind components", () => {
|
||||
);
|
||||
|
||||
expect(guestHtml).toContain('aria-label="Sign up to unlock more features"');
|
||||
expect(guestHtml).toContain("bg-(--color-accent,#f84d96)");
|
||||
expect(guestHtml).toContain("bg-accent");
|
||||
expect(guestHtml).toContain("size-(--icon-size-sm,16px)");
|
||||
expect(guestHtml).not.toContain('href="/splash"');
|
||||
expect(guestHtml).not.toContain('aria-label="Back to home"');
|
||||
@@ -189,7 +189,7 @@ describe("chat Tailwind components", () => {
|
||||
expect(html).toContain('aria-label="Message"');
|
||||
expect(html).toContain("min-h-(--chat-send-button-size,40px)");
|
||||
expect(html).toContain("max-h-[min(30vh,120px)]");
|
||||
expect(html).toContain("caret-(--color-accent,#f84d96)");
|
||||
expect(html).toContain("caret-accent");
|
||||
expect(html).toContain("placeholder:text-(--color-text-hint,#757575)");
|
||||
expect(html).toContain("Message Elio");
|
||||
expect(html).toContain("Hello");
|
||||
|
||||
Reference in New Issue
Block a user