fix(plugin): preserve sdk alias fallback for native loads

This commit is contained in:
Vincent Koc
2026-05-03 23:24:57 -07:00
parent 6e8cdd7d59
commit baecb6b4d6
6 changed files with 33 additions and 12 deletions

View File

@@ -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,