(t *testing.T)
| 26 | ) |
| 27 | |
| 28 | func TestJSONFields(t *testing.T) { |
| 29 | jsonfieldstest.ExpectCommandToSupportJSONFields(t, NewCmdView, []string{ |
| 30 | "assignees", |
| 31 | "author", |
| 32 | "body", |
| 33 | "closed", |
| 34 | "comments", |
| 35 | "closedByPullRequestsReferences", |
| 36 | "createdAt", |
| 37 | "closedAt", |
| 38 | "id", |
| 39 | "labels", |
| 40 | "milestone", |
| 41 | "number", |
| 42 | "projectCards", |
| 43 | "projectItems", |
| 44 | "reactionGroups", |
| 45 | "state", |
| 46 | "title", |
| 47 | "updatedAt", |
| 48 | "url", |
| 49 | "isPinned", |
| 50 | "stateReason", |
| 51 | "issueType", |
| 52 | "parent", |
| 53 | "subIssues", |
| 54 | "subIssuesSummary", |
| 55 | "blockedBy", |
| 56 | "blocking", |
| 57 | }) |
| 58 | } |
| 59 | |
| 60 | func TestNewCmdView(t *testing.T) { |
| 61 | // Test shared parsing of issue number / URL. |
nothing calls this directly
no test coverage detected