Skip to content

Commit 3820db6

Browse files
committed
Fix tests
1 parent 3dec327 commit 3820db6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/core/__tests__/Cline.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ jest.mock("vscode", () => {
139139
}
140140

141141
return {
142+
CodeActionKind: {
143+
QuickFix: { value: "quickfix" },
144+
RefactorRewrite: { value: "refactor.rewrite" },
145+
},
142146
window: {
143147
createTextEditorDecorationType: jest.fn().mockReturnValue({
144148
dispose: jest.fn(),

src/core/webview/__tests__/ClineProvider.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ jest.mock("vscode", () => ({
167167
joinPath: jest.fn(),
168168
file: jest.fn(),
169169
},
170+
CodeActionKind: {
171+
QuickFix: { value: "quickfix" },
172+
RefactorRewrite: { value: "refactor.rewrite" },
173+
},
170174
window: {
171175
showInformationMessage: jest.fn(),
172176
showErrorMessage: jest.fn(),

0 commit comments

Comments
 (0)