mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 15:10:43 +00:00
fix(plugin): preserve sdk alias fallback for native loads
This commit is contained in:
@@ -406,6 +406,7 @@ describe("getCachedPluginModuleLoader", () => {
|
||||
// allowWindows must be passed so the native fast path works on Windows too.
|
||||
expect(nativeStub).toHaveBeenCalledWith("/repo/dist/extensions/demo/api.js", {
|
||||
allowWindows: true,
|
||||
fallbackOnMissingDependency: true,
|
||||
});
|
||||
expect(getPluginModuleLoaderStats()).toMatchObject({
|
||||
calls: 1,
|
||||
|
||||
Reference in New Issue
Block a user