diff --git a/hive/services/hiveui/frontend/src/components/form-actions.test.tsx b/hive/services/hiveui/frontend/src/components/form-actions.test.tsx index ffd0108a1..6ad6ec541 100644 --- a/hive/services/hiveui/frontend/src/components/form-actions.test.tsx +++ b/hive/services/hiveui/frontend/src/components/form-actions.test.tsx @@ -8,11 +8,11 @@ describe("FormActions", () => { it("renders submit and cancel buttons", () => { render( , ) expect(screen.getByRole("button", { name: "Create" })).toBeInTheDocument() @@ -22,11 +22,11 @@ describe("FormActions", () => { it("shows pending label when submitting", () => { render( , ) expect( @@ -37,11 +37,11 @@ describe("FormActions", () => { it("shows pending label when isPending", () => { render( , ) expect( @@ -52,11 +52,11 @@ describe("FormActions", () => { it("disables both buttons when submitting", () => { render( , ) expect(screen.getByRole("button", { name: "Creating..." })).toBeDisabled() @@ -68,11 +68,11 @@ describe("FormActions", () => { const user = userEvent.setup() render( , ) await user.click(screen.getByRole("button", { name: "Cancel" })) diff --git a/hive/services/hiveui/frontend/src/components/theme-switch.test.tsx b/hive/services/hiveui/frontend/src/components/theme-switch.test.tsx index 5f0893620..ad6493c0f 100644 --- a/hive/services/hiveui/frontend/src/components/theme-switch.test.tsx +++ b/hive/services/hiveui/frontend/src/components/theme-switch.test.tsx @@ -1,6 +1,5 @@ import { render, screen } from "@testing-library/react" import userEvent from "@testing-library/user-event" -import type { ReactNode } from "react" import { describe, expect, it } from "vitest" import { ThemeProvider, useTheme } from "./theme-provider" diff --git a/hive/services/hiveui/frontend/src/queries/iam.test.ts b/hive/services/hiveui/frontend/src/queries/iam.test.ts index b915935d0..edc4e0572 100644 --- a/hive/services/hiveui/frontend/src/queries/iam.test.ts +++ b/hive/services/hiveui/frontend/src/queries/iam.test.ts @@ -96,9 +96,7 @@ describe("staleTime", () => { }) it("attached user policies use staleTime", () => { - expect(iamAttachedUserPoliciesQueryOptions("admin").staleTime).toBe( - 300_000, - ) + expect(iamAttachedUserPoliciesQueryOptions("admin").staleTime).toBe(300_000) }) })