Fix checkpoints test (#8803)

This commit is contained in:
Matt Rubens 2025-10-24 10:18:19 -04:00 committed by GitHub
parent ad56791c3e
commit 19e06900ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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