mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 15:40:44 +00:00
test: clarify plugin sdk assertions
This commit is contained in:
@@ -242,7 +242,8 @@ describe("plugin-sdk facade runtime", () => {
|
||||
|
||||
expect(loaded.marker).toBe("post-load-ok");
|
||||
expect(reentryMarkers.length).toBeGreaterThan(0);
|
||||
expect(reentryMarkers.every((marker) => marker === "post-load-ok")).toBe(true);
|
||||
const unexpectedReentryMarkers = reentryMarkers.filter((marker) => marker !== "post-load-ok");
|
||||
expect(unexpectedReentryMarkers).toEqual([]);
|
||||
expect(listImportedBundledPluginFacadeIds()).toEqual(["demo"]);
|
||||
expect(loader).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user