mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:20:43 +00:00
test(config): remove runtime legacy compat wrapper
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user