| author | |
| committer | |
| log | b6523a15dc7f032b2804c07f2422daf89f8bcd88 |
| tree | 14cdb198dba64f8c3fc8b5564744841f0373020f |
| parent | 8a4fed1bf2dcd4195e04c204af17f19a3e0c3a56 |
Co-authored-by: codex <codex@users.noreply.github.com>2 files changed, 3 insertions(+), 3 deletions(-)
apps/desktop/src/confirmDialog.test.ts+2-2| ... | ... | @@ -35,7 +35,7 @@ describe("showDesktopConfirmDialog", () => { |
| 35 | 35 | expect(showMessageBoxMock).toHaveBeenCalledWith( |
| 36 | 36 | ownerWindow, |
| 37 | 37 | expect.objectContaining({ |
| 38 | buttons: ["Cancel", "Confirm"], | |
| 38 | buttons: ["No", "Yes"], | |
| 39 | 39 | message: "Delete worktree?", |
| 40 | 40 | }), |
| 41 | 41 | ); |
| ... | ... | @@ -49,7 +49,7 @@ describe("showDesktopConfirmDialog", () => { |
| 49 | 49 | expect(result).toBe(false); |
| 50 | 50 | expect(showMessageBoxMock).toHaveBeenCalledWith( |
| 51 | 51 | expect.objectContaining({ |
| 52 | buttons: ["Cancel", "Confirm"], | |
| 52 | buttons: ["No", "Yes"], | |
| 53 | 53 | message: "Delete worktree?", |
| 54 | 54 | }), |
| 55 | 55 | ); |
apps/desktop/src/confirmDialog.ts+1-1| ... | ... | @@ -13,7 +13,7 @@ export async function showDesktopConfirmDialog( |
| 13 | 13 | |
| 14 | 14 | const options = { |
| 15 | 15 | type: "question" as const, |
| 16 | buttons: ["Cancel", "Confirm"], | |
| 16 | buttons: ["No", "Yes"], | |
| 17 | 17 | defaultId: CONFIRM_BUTTON_INDEX, |
| 18 | 18 | cancelId: 0, |
| 19 | 19 | noLink: true, |