From df09454e36fcbc437cac6ab079533ec0296698b9 Mon Sep 17 00:00:00 2001 From: Test User Date: Tue, 21 Apr 2026 21:03:58 +0000 Subject: [PATCH] fix: apply prettier formatting --- src/index.test.tsx | 7 +++---- src/index.tsx | 30 +++++++++++++++--------------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/src/index.test.tsx b/src/index.test.tsx index bd11d71..80ea20b 100644 --- a/src/index.test.tsx +++ b/src/index.test.tsx @@ -1,11 +1,10 @@ -import { describe, expect, it } from 'vitest'; +import { describe, expect, it } from "vitest"; // Minimal smoke test — verify the test file itself is valid and can run. // Full plugin component tests will be added in subsequent tasks per PRI-189. -describe('ArgoCD Plugin Scaffold', () => { - it('test suite loads without errors', () => { +describe("ArgoCD Plugin Scaffold", () => { + it("test suite loads without errors", () => { // Intentionally simple: just verify vitest is working and this file parses expect(true).toBe(true); }); }); - diff --git a/src/index.tsx b/src/index.tsx index 13f2a55..f6244f1 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,12 +1,12 @@ import { registerRoute, registerSidebarEntry, -} from '@kinvolk/headlamp-plugin/lib'; +} from "@kinvolk/headlamp-plugin/lib"; import { SectionBox, StatusLabel, -} from '@kinvolk/headlamp-plugin/lib/CommonComponents'; -import React from 'react'; +} from "@kinvolk/headlamp-plugin/lib/CommonComponents"; +import React from "react"; // --- Error boundary for plugin components --- @@ -52,26 +52,26 @@ function ArgoCDStubView() { registerSidebarEntry({ parent: null, - name: 'argocd', - label: 'ArgoCD', - url: '/argocd', - icon: 'mdi:git', + name: "argocd", + label: "ArgoCD", + url: "/argocd", + icon: "mdi:git", }); registerSidebarEntry({ - parent: 'argocd', - name: 'argocd-overview', - label: 'Applications', - url: '/argocd', - icon: 'mdi:view-list', + parent: "argocd", + name: "argocd-overview", + label: "Applications", + url: "/argocd", + icon: "mdi:view-list", }); // --- Routes --- registerRoute({ - path: '/argocd', - sidebar: 'argocd-overview', - name: 'argocd', + path: "/argocd", + sidebar: "argocd-overview", + name: "argocd", exact: true, component: () => (