test: isolate browser facade cache tests

This commit is contained in:
Peter Steinberger
2026-04-17 20:35:23 +01:00
parent 08e1eb7a9f
commit fde25bfb8c
2 changed files with 4 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ vi.mock("./facade-loader.js", () => ({
describe("plugin-sdk browser facades", () => {
beforeEach(() => {
// Facade wrappers cache successful loads; each case needs a clean wrapper module.
vi.resetModules();
loadBundledPluginPublicSurfaceModuleSync.mockReset();
});

View File

@@ -8,6 +8,8 @@ vi.mock("./facade-loader.js", () => ({
describe("browser host inspection", () => {
beforeEach(() => {
// Facade wrappers cache successful loads; each case needs a clean wrapper module.
vi.resetModules();
loadBundledPluginPublicSurfaceModuleSync.mockReset();
});