Fix project workspace diff test fixture

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-05-15 14:03:11 -05:00
1 parent a2b6687b0a
commit da7c584b8a
1 file changed
+3 -3
+3 -3
View File
@@ -237,10 +237,10 @@ describe("ProjectWorkspaceDetail changes tab", () => {
});
it("opens the Changes tab in working-tree mode when no upstream ref is known", async () => {
const workspaceWithoutRef = projectWorkspace({ defaultRef: null, repoRef: null });
mockProjectsApi.get.mockResolvedValue(project({
workspaces: [projectWorkspace({ defaultRef: null, repoRef: null })],
primaryWorkspace: projectWorkspace({ defaultRef: null, repoRef: null }),
codebase: null,
workspaces: [workspaceWithoutRef],
primaryWorkspace: workspaceWithoutRef,
}));
await render();