- Detect and route jj repositories alongside git - Thread VCS kind through status and UI labels - Add jj driver contract coverage and shared freshness helper
Showing the changes to packages/shared/src/git.test.ts (1 of 30 files). Show all
Unified · Split
| @@ -81,6 +81,7 @@ describe("applyGitStatusStreamEvent", () => { · 80 unmodified lines | |||
| 81 | }; | 81 | }; |
| 82 | 82 | ||
| 83 | expect(applyGitStatusStreamEvent(null, { _tag: "remoteUpdated", remote })).toEqual({ | 83 | expect(applyGitStatusStreamEvent(null, { _tag: "remoteUpdated", remote })).toEqual({ |
| 84 | kind: "unknown", | ||
| 84 | isRepo: true, | 85 | isRepo: true, |
| 85 | hasPrimaryRemote: false, | 86 | hasPrimaryRemote: false, |
| 86 | isDefaultRef: false, | 87 | isDefaultRef: false, |
| @@ -96,6 +97,7 @@ describe("applyGitStatusStreamEvent", () => { · 9 unmodified lines | |||
| 96 | 97 | ||
| 97 | it("preserves local-only fields when applying a remote update", () => { | 98 | it("preserves local-only fields when applying a remote update", () => { |
| 98 | const current: VcsStatusResult = { | 99 | const current: VcsStatusResult = { |
| 100 | kind: "git", | ||
| 99 | isRepo: true, | 101 | isRepo: true, |
| 100 | sourceControlProvider: { | 102 | sourceControlProvider: { |
| 101 | kind: "github", | 103 | kind: "github", |