mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-25 05:54:53 +00:00
style: prettier format the navbar test
This commit is contained in:
parent
01394cc6af
commit
3ba429993c
1 changed files with 2 additions and 2 deletions
|
|
@ -274,7 +274,7 @@ describe("Navbar", () => {
|
|||
const logoImg = screen.getByAltText("LiteLLM Brand");
|
||||
expect(logoImg).toHaveAttribute("src", "https://example.com/custom-logo.png");
|
||||
const darkLogoImg = Array.from(document.querySelectorAll("img")).find(
|
||||
(img) => img.getAttribute("aria-hidden") === "true"
|
||||
(img) => img.getAttribute("aria-hidden") === "true",
|
||||
);
|
||||
expect(darkLogoImg).toBeDefined();
|
||||
expect(darkLogoImg).toHaveAttribute("src", "https://example.com/custom-logo-dark.png");
|
||||
|
|
@ -289,7 +289,7 @@ describe("Navbar", () => {
|
|||
renderWithProviders(<Navbar {...defaultProps} />);
|
||||
|
||||
const darkLogoImg = Array.from(document.querySelectorAll("img")).find(
|
||||
(img) => img.getAttribute("aria-hidden") === "true"
|
||||
(img) => img.getAttribute("aria-hidden") === "true",
|
||||
);
|
||||
expect(darkLogoImg).toBeDefined();
|
||||
expect(darkLogoImg).toHaveAttribute("src", "https://example.com/custom-logo.png");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue