test(config): remove runtime legacy compat wrapper

This commit is contained in:
Peter Steinberger
2026-05-02 16:29:10 +01:00
parent 15cb06430e
commit 4eedc4723f
5 changed files with 9 additions and 61 deletions

View File

@@ -1,5 +1,6 @@
import { afterEach, describe, expect, it, vi } from "vitest";
import { __testing, resolveCliChannelOptions } from "./channel-options.js";
import { __testing as startupMetadataTesting } from "./startup-metadata.js";
const readFileSyncMock = vi.hoisted(() => vi.fn());
@@ -23,6 +24,7 @@ vi.mock("../channels/ids.js", () => ({
describe("resolveCliChannelOptions", () => {
afterEach(() => {
__testing.resetPrecomputedChannelOptionsForTests();
startupMetadataTesting.clearStartupMetadataCache();
vi.clearAllMocks();
});