mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-05 03:51:54 +01:00
Fix project workspace diff test fixture
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
a2b6687b0a
commit
da7c584b8a
1 file changed
+3
-3
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user