Fixing test

Signed-off-by: Thorsten Gilfert <thorsten.gilfert@bbraun.com>
This commit is contained in:
Thorsten Gilfert
2024-04-08 14:21:26 +00:00
parent c03e306778
commit ecc412399c
3 changed files with 3 additions and 3 deletions
@@ -71,7 +71,7 @@ jest.mock('../../hooks/usePullRequestsByTeam', () => {
nodes: [],
},
commits: {
nodes: status,
nodes: [status],
},
isDraft: isDraft,
author: {
@@ -71,7 +71,7 @@ jest.mock('../../hooks/usePullRequestsByTeam', () => {
nodes: [],
},
commits: {
nodes: status,
nodes: [status],
},
isDraft: isDraft,
author: {
@@ -99,7 +99,7 @@ export type PullRequest = {
nodes: Reviews;
};
commits: {
nodes: Status;
nodes: Status[];
};
mergeable: boolean;
state: string;