diff --git a/libs/plugins-runtime/src/lib/api/plugin-api.spec.ts b/libs/plugins-runtime/src/lib/api/plugin-api.spec.ts index 06fb92e..af843a5 100644 --- a/libs/plugins-runtime/src/lib/api/plugin-api.spec.ts +++ b/libs/plugins-runtime/src/lib/api/plugin-api.spec.ts @@ -28,7 +28,7 @@ describe('Plugin api', () => { getSelected: vi.fn(), getSelectedShapes: vi.fn(), getTheme: vi.fn(() => 'dark'), - addListener: vi.fn(() => Symbol()), + addListener: vi.fn().mockReturnValueOnce(Symbol()), removeListener: vi.fn(), };