| 1 | import { describe, expect, it } from "vite-plus/test"; |
| 2 | |
| 3 | import { resolveGitOverviewReviewNavigationAction } from "./git-overview-navigation"; |
| 4 | |
| 5 | describe("resolveGitOverviewReviewNavigationAction", () => { |
| 6 | it("replaces the sheet so Back returns directly to the thread", () => { |
| 7 | expect(resolveGitOverviewReviewNavigationAction("sheet")).toBe("replace"); |
| 8 | }); |
| 9 | |
| 10 | it("pushes Review normally when Git is a persistent inspector", () => { |
| 11 | expect(resolveGitOverviewReviewNavigationAction("inspector")).toBe("navigate"); |
| 12 | }); |
| 13 | }); |