MCPcopy Create free account
hub / github.com/github/gh-aw / userProjectV2Response

Function userProjectV2Response

actions/setup/js/update_project.test.cjs:247–257  ·  view source on GitHub ↗
(url, number = 60, id = "project123", userLogin = "testowner")

Source from the content-addressed store, hash-verified

245});
246
247const 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
259const orgProjectNullResponse = () => ({ organization: { projectV2: null } });
260const userProjectNullResponse = () => ({ user: { projectV2: null } });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected