Skip to content

Commit

Permalink
Add createTextEditorDecorationType to mocks to fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlewi committed Aug 21, 2024
1 parent 08ec331 commit b50d64e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions __mocks__/vscode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export const window = {
showInformationMessage: vi.fn(),
showErrorMessage: vi.fn(),
createTerminal: vi.fn().mockReturnValue(terminal),
createTextEditorDecorationType: vi.fn(),
showNotebookDocument: vi.fn(),
showTextDocument: vi.fn(),
onDidChangeActiveNotebookEditor: vi.fn().mockReturnValue({ dispose: vi.fn() }),
Expand Down

0 comments on commit b50d64e

Please sign in to comment.