0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-06 14:50:21 -05:00

fix(plugins-runtime): fix problem with types in test

This commit is contained in:
alonso.torres 2024-07-23 13:30:47 +02:00 committed by Alonso Torres
parent 415284ff92
commit 17db173aa2

View file

@ -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(),
};