Browse Source

Fix checkpoints test (#8803)

Matt Rubens 2 months ago
parent
commit
19e06900ee
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/core/checkpoints/__tests__/checkpoint.test.ts

+ 3 - 3
src/core/checkpoints/__tests__/checkpoint.test.ts

@@ -325,7 +325,7 @@ describe("Checkpoint functionality", () => {
 			})
 			expect(vscode.commands.executeCommand).toHaveBeenCalledWith(
 				"vscode.changes",
-				"errors.checkpoint_diff_to_current",
+				"common:errors.checkpoint_diff_to_current",
 				expect.any(Array),
 			)
 		})
@@ -350,7 +350,7 @@ describe("Checkpoint functionality", () => {
 			})
 			expect(vscode.commands.executeCommand).toHaveBeenCalledWith(
 				"vscode.changes",
-				"errors.checkpoint_diff_with_next",
+				"common:errors.checkpoint_diff_with_next",
 				expect.any(Array),
 			)
 		})
@@ -385,7 +385,7 @@ describe("Checkpoint functionality", () => {
 				mode: "to-current",
 			})
 
-			expect(vscode.window.showInformationMessage).toHaveBeenCalledWith("errors.checkpoint_no_changes")
+			expect(vscode.window.showInformationMessage).toHaveBeenCalledWith("common:errors.checkpoint_no_changes")
 			expect(vscode.commands.executeCommand).not.toHaveBeenCalled()
 		})