feat: finish the host-metrics plugin, move host status into core (B16)

This commit is contained in:
LukeGus committed 2026-09-24 11:21:23 -05:00
1 parent 14eb558b85
commit 0a3f05d99d
308 files changed
+53073 -8985

No files matched your search

@@ -2,12 +2,10 @@ import { beforeEach, describe, expect, it, vi } from "vitest";
import type { Client } from "ssh2";
const execElevated = vi.fn();
vi.mock(
"../../../../src/backend/hosts/metrics-shared/exec-elevated.js",
() => ({
execElevated: (...args: unknown[]) => execElevated(...args),
}),
);
vi.mock("@termix/plugin-sdk/host-commands", async (importOriginal) => ({
...(await importOriginal<object>()),
execElevated: (...args: unknown[]) => execElevated(...args),
}));
const { execPveshCommand } = await import("../../src/backend/routes.js");