mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-18 11:40:39 +09:00
Stabilize rebased route test expectations
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
9499d0df97
commit
467f3a749a
6 changed files with 32 additions and 7 deletions
|
|
@ -173,6 +173,9 @@ describe("closed isolated workspace issue routes", () => {
|
|||
.send({ executionWorkspaceId: nextWorkspaceId });
|
||||
|
||||
expect(res.status).toBe(200);
|
||||
expect(mockIssueService.update).toHaveBeenCalledWith(issueId, { executionWorkspaceId: nextWorkspaceId });
|
||||
expect(mockIssueService.update).toHaveBeenCalledWith(
|
||||
issueId,
|
||||
expect.objectContaining({ executionWorkspaceId: nextWorkspaceId }),
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue