From 0ec13f33eb5289863b108b319f8960f5f4643ad3 Mon Sep 17 00:00:00 2001
From: Julian Sommer <115516918+juliansommer@users.noreply.github.com>
Date: Wed, 11 Mar 2026 10:58:03 +1000
Subject: [PATCH] fix: lint
---
.../src/components/form-actions.test.tsx | 20 +++++++++----------
.../src/components/theme-switch.test.tsx | 1 -
.../hiveui/frontend/src/queries/iam.test.ts | 4 +---
3 files changed, 11 insertions(+), 14 deletions(-)
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)
})
})