(url, number = 60, id = "project123", userLogin = "testowner")
| 245 | }); |
| 246 | |
| 247 | const userProjectV2Response = (url, number = 60, id = "project123", userLogin = "testowner") => ({ |
| 248 | user: { |
| 249 | projectV2: { |
| 250 | id, |
| 251 | number, |
| 252 | title: "Test Project", |
| 253 | url, |
| 254 | owner: { __typename: "User", login: userLogin }, |
| 255 | }, |
| 256 | }, |
| 257 | }); |
| 258 | |
| 259 | const orgProjectNullResponse = () => ({ organization: { projectV2: null } }); |
| 260 | const userProjectNullResponse = () => ({ user: { projectV2: null } }); |
no outgoing calls
no test coverage detected