mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-01-08 07:50:44 -05:00
fix(plugins-runtime): fix problem with types in test
This commit is contained in:
parent
415284ff92
commit
17db173aa2
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ describe('Plugin api', () => {
|
||||||
getSelected: vi.fn(),
|
getSelected: vi.fn(),
|
||||||
getSelectedShapes: vi.fn(),
|
getSelectedShapes: vi.fn(),
|
||||||
getTheme: vi.fn(() => 'dark'),
|
getTheme: vi.fn(() => 'dark'),
|
||||||
addListener: vi.fn(() => Symbol()),
|
addListener: vi.fn().mockReturnValueOnce(Symbol()),
|
||||||
removeListener: vi.fn(),
|
removeListener: vi.fn(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue