mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 19:00:45 +00:00
test: route extension tests through sdk seams
This commit is contained in:
@@ -34,15 +34,6 @@ const maybeCreateMatrixMigrationSnapshotMock = vi.hoisted(() =>
|
||||
})),
|
||||
);
|
||||
|
||||
vi.mock("../../../../../src/infra/backup-create.js", async () => {
|
||||
const actual = await vi.importActual<typeof import("../../../../../src/infra/backup-create.js")>(
|
||||
"../../../../../src/infra/backup-create.js",
|
||||
);
|
||||
return {
|
||||
...actual,
|
||||
createBackupArchive: (params: unknown) => createBackupArchiveMock(params),
|
||||
};
|
||||
});
|
||||
vi.mock("./migration-snapshot.runtime.js", () => ({
|
||||
maybeCreateMatrixMigrationSnapshot: (params: unknown) =>
|
||||
maybeCreateMatrixMigrationSnapshotMock(params),
|
||||
|
||||
Reference in New Issue
Block a user