| ... | ... | @@ -1452,13 +1452,13 @@ it.layer(GitManagerTestLayer)("GitManager", (it) => { |
| 1452 | 1452 | mode: "worktree", |
| 1453 | 1453 | }); |
| 1454 | 1454 | |
| 1455 | | expect(result.branch).toBe("pr/91-main"); |
| 1455 | expect(result.branch).toBe("t3code/pr-91/main"); |
| 1456 | 1456 | expect(result.worktreePath).not.toBeNull(); |
| 1457 | 1457 | expect((yield* runGit(repoDir, ["branch", "--show-current"])).stdout.trim()).toBe("main"); |
| 1458 | 1458 | expect((yield* runGit(repoDir, ["rev-parse", "main"])).stdout.trim()).toBe(mainBefore); |
| 1459 | 1459 | expect( |
| 1460 | 1460 | (yield* runGit(result.worktreePath as string, ["branch", "--show-current"])).stdout.trim(), |
| 1461 | | ).toBe("pr/91-main"); |
| 1461 | ).toBe("t3code/pr-91/main"); |
| 1462 | 1462 | }), |
| 1463 | 1463 | ); |
| 1464 | 1464 | |
| ... | ... | @@ -1508,7 +1508,7 @@ it.layer(GitManagerTestLayer)("GitManager", (it) => { |
| 1508 | 1508 | mode: "worktree", |
| 1509 | 1509 | }); |
| 1510 | 1510 | |
| 1511 | | expect(result.branch).toBe("pr/92-main"); |
| 1511 | expect(result.branch).toBe("t3code/pr-92/main"); |
| 1512 | 1512 | expect((yield* runGit(repoDir, ["rev-parse", "main"])).stdout.trim()).toBe(localMainBefore); |
| 1513 | 1513 | expect( |
| 1514 | 1514 | (yield* runGit(result.worktreePath as string, ["rev-parse", "--abbrev-ref", "@{upstream}"])) |