fix(release): stabilize beta validation lanes

This commit is contained in:
Peter Steinberger
2026-04-26 16:21:56 +01:00
parent b438a9cc08
commit 30aa1b5223
11 changed files with 317 additions and 217 deletions

View File

@@ -1,4 +1,5 @@
import { beforeEach, describe, expect, it, vi } from "vitest";
import { importFreshModule } from "../../../test/helpers/import-fresh.js";
import type { ClawdbotConfig } from "../runtime-api.js";
const createFeishuClientMock = vi.hoisted(() => vi.fn());
@@ -7,13 +8,15 @@ vi.mock("./client.js", () => ({
createFeishuClient: createFeishuClientMock,
}));
const freshDirectoryModulePath = "./directory.js?directory-test";
const {
listFeishuDirectoryGroups,
listFeishuDirectoryGroupsLive,
listFeishuDirectoryPeers,
listFeishuDirectoryPeersLive,
} = await import(freshDirectoryModulePath);
} = await importFreshModule<typeof import("./directory.js")>(
import.meta.url,
"./directory.js?directory-test",
);
function makeStaticCfg(): ClawdbotConfig {
return {