fix: run prettier to fix formatting issues flagged by format check

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Test User
2026-04-21 20:26:51 +00:00
parent 00be250f51
commit e09e0c0398
2 changed files with 25 additions and 20 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
import { describe, it, expect } from 'vitest'; import { describe, it, expect } from "vitest";
// Minimal smoke test — verify the test file itself is valid and can run. // 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. // Full plugin component tests will be added in subsequent tasks per PRI-189.
describe('ArgoCD Plugin Scaffold', () => { describe("ArgoCD Plugin Scaffold", () => {
it('test suite loads without errors', () => { it("test suite loads without errors", () => {
// Intentionally simple: just verify vitest is working and this file parses // Intentionally simple: just verify vitest is working and this file parses
expect(true).toBe(true); expect(true).toBe(true);
}); });
+21 -16
View File
@@ -1,9 +1,12 @@
import { import {
registerRoute, registerRoute,
registerSidebarEntry, registerSidebarEntry,
} from '@kinvolk/headlamp-plugin/lib'; } from "@kinvolk/headlamp-plugin/lib";
import { SectionBox, StatusLabel } from '@kinvolk/headlamp-plugin/lib/CommonComponents'; import {
import React from 'react'; SectionBox,
StatusLabel,
} from "@kinvolk/headlamp-plugin/lib/CommonComponents";
import React from "react";
// --- Error boundary for plugin components --- // --- Error boundary for plugin components ---
@@ -38,7 +41,9 @@ class ArgoCDErrorBoundary extends React.Component<
function ArgoCDStubView() { function ArgoCDStubView() {
return ( return (
<SectionBox title="ArgoCD Applications"> <SectionBox title="ArgoCD Applications">
<StatusLabel status="info">Plugin scaffold features coming soon.</StatusLabel> <StatusLabel status="info">
Plugin scaffold features coming soon.
</StatusLabel>
</SectionBox> </SectionBox>
); );
} }
@@ -47,26 +52,26 @@ function ArgoCDStubView() {
registerSidebarEntry({ registerSidebarEntry({
parent: null, parent: null,
name: 'argocd', name: "argocd",
label: 'ArgoCD', label: "ArgoCD",
url: '/argocd', url: "/argocd",
icon: 'mdi:git', icon: "mdi:git",
}); });
registerSidebarEntry({ registerSidebarEntry({
parent: 'argocd', parent: "argocd",
name: 'argocd-overview', name: "argocd-overview",
label: 'Applications', label: "Applications",
url: '/argocd', url: "/argocd",
icon: 'mdi:view-list', icon: "mdi:view-list",
}); });
// --- Routes --- // --- Routes ---
registerRoute({ registerRoute({
path: '/argocd', path: "/argocd",
sidebar: 'argocd-overview', sidebar: "argocd-overview",
name: 'argocd', name: "argocd",
exact: true, exact: true,
component: () => ( component: () => (
<ArgoCDErrorBoundary> <ArgoCDErrorBoundary>