MCPcopy Create free account
hub / github.com/cli/cli / TestJSONFields

Function TestJSONFields

pkg/cmd/repo/list/list_test.go:26–96  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

24)
25
26func TestJSONFields(t *testing.T) {
27 jsonfieldstest.ExpectCommandToSupportJSONFields(t, NewCmdList, []string{
28 "archivedAt",
29 "assignableUsers",
30 "codeOfConduct",
31 "contactLinks",
32 "createdAt",
33 "defaultBranchRef",
34 "deleteBranchOnMerge",
35 "description",
36 "diskUsage",
37 "forkCount",
38 "fundingLinks",
39 "hasDiscussionsEnabled",
40 "hasIssuesEnabled",
41 "hasProjectsEnabled",
42 "hasWikiEnabled",
43 "homepageUrl",
44 "id",
45 "isArchived",
46 "isBlankIssuesEnabled",
47 "isEmpty",
48 "isFork",
49 "isInOrganization",
50 "isMirror",
51 "isPrivate",
52 "isSecurityPolicyEnabled",
53 "isTemplate",
54 "isUserConfigurationRepository",
55 "issueTemplates",
56 "issues",
57 "labels",
58 "languages",
59 "latestRelease",
60 "licenseInfo",
61 "mentionableUsers",
62 "mergeCommitAllowed",
63 "milestones",
64 "mirrorUrl",
65 "name",
66 "nameWithOwner",
67 "openGraphImageUrl",
68 "owner",
69 "parent",
70 "primaryLanguage",
71 "projects",
72 "projectsV2",
73 "pullRequestTemplates",
74 "pullRequests",
75 "pushedAt",
76 "rebaseMergeAllowed",
77 "repositoryTopics",
78 "securityPolicyUrl",
79 "sshUrl",
80 "squashMergeAllowed",
81 "stargazerCount",
82 "templateRepository",
83 "updatedAt",

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected