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:
+4
-4
@@ -1,10 +1,10 @@
|
||||
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.
|
||||
// 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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
+21
-16
@@ -1,9 +1,12 @@
|
||||
import {
|
||||
registerRoute,
|
||||
registerSidebarEntry,
|
||||
} from '@kinvolk/headlamp-plugin/lib';
|
||||
import { SectionBox, StatusLabel } from '@kinvolk/headlamp-plugin/lib/CommonComponents';
|
||||
import React from 'react';
|
||||
} from "@kinvolk/headlamp-plugin/lib";
|
||||
import {
|
||||
SectionBox,
|
||||
StatusLabel,
|
||||
} from "@kinvolk/headlamp-plugin/lib/CommonComponents";
|
||||
import React from "react";
|
||||
|
||||
// --- Error boundary for plugin components ---
|
||||
|
||||
@@ -38,7 +41,9 @@ class ArgoCDErrorBoundary extends React.Component<
|
||||
function ArgoCDStubView() {
|
||||
return (
|
||||
<SectionBox title="ArgoCD Applications">
|
||||
<StatusLabel status="info">Plugin scaffold — features coming soon.</StatusLabel>
|
||||
<StatusLabel status="info">
|
||||
Plugin scaffold — features coming soon.
|
||||
</StatusLabel>
|
||||
</SectionBox>
|
||||
);
|
||||
}
|
||||
@@ -47,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: () => (
|
||||
<ArgoCDErrorBoundary>
|
||||
|
||||
Reference in New Issue
Block a user