Skip to content

Commit

Permalink
Fix: EventEmitter mock
Browse files Browse the repository at this point in the history
  • Loading branch information
idillon-sfl committed Mar 7, 2024
1 parent 27702bb commit bbaf51f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions __mocks__/vscode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ const languages = {
const ThemeColor = jest.fn();

const EventEmitter = jest.fn(() => {
fire: jest.fn()
event: jest.fn()
return {
fire: jest.fn(),
event: jest.fn()
}
});

const QuickPickItemKind = {
Expand Down

0 comments on commit bbaf51f

Please sign in to comment.