mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 16:10:45 +00:00
test: clarify infra cleanup assertions
This commit is contained in:
@@ -111,7 +111,7 @@ describe("listChannelCatalogEntries", () => {
|
||||
},
|
||||
});
|
||||
|
||||
expect(() => module.listChannelCatalogEntries({ env: ENV })).not.toThrow();
|
||||
expect(module.listChannelCatalogEntries({ env: ENV })).toEqual([]);
|
||||
|
||||
expect(loadRecordsSpy).toHaveBeenCalledTimes(1);
|
||||
expect(discoverSpy).toHaveBeenCalledTimes(1);
|
||||
|
||||
@@ -518,7 +518,7 @@ describe("stageBundledPluginRuntime", () => {
|
||||
return realSymlinkSync(String(target), linkPath, type);
|
||||
}) as typeof fs.symlinkSync);
|
||||
|
||||
expect(() => stageBundledPluginRuntime({ repoRoot })).not.toThrow();
|
||||
stageBundledPluginRuntime({ repoRoot });
|
||||
|
||||
const runtimeAssetPath = path.join(
|
||||
repoRoot,
|
||||
|
||||
Reference in New Issue
Block a user