Fixing test
Signed-off-by: Thorsten Gilfert <thorsten.gilfert@bbraun.com>
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ jest.mock('../../hooks/usePullRequestsByTeam', () => {
|
||||
nodes: [],
|
||||
},
|
||||
commits: {
|
||||
nodes: status,
|
||||
nodes: [status],
|
||||
},
|
||||
isDraft: isDraft,
|
||||
author: {
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user