mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:10:45 +00:00
test: remove redundant migration runtime assertion
This commit is contained in:
@@ -29,7 +29,7 @@ describe("withCachedMigrationConfigRuntime", () => {
|
||||
const current = vi.fn(() => runtimeConfig);
|
||||
const mutateConfigFile = vi.fn(
|
||||
async (params: MutateConfigFileParams): Promise<MutateConfigFileResult> => {
|
||||
const draft = structuredClone(runtimeConfig) as RuntimeConfig;
|
||||
const draft = structuredClone(runtimeConfig);
|
||||
const result = await params.mutate(draft, {
|
||||
snapshot: {} as never,
|
||||
previousHash: null,
|
||||
|
||||
Reference in New Issue
Block a user