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

Function TestJSONFields

pkg/cmd/event/subscription/view/view_test.go:21–31  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

19)
20
21func TestJSONFields(t *testing.T) {
22 jsonfieldstest.ExpectCommandToSupportJSONFields(t, NewCmdView, []string{
23 "id",
24 "resourceUrl",
25 "eventTypes",
26 "createdAt",
27 "expiresAt",
28 "url",
29 "eventsUrl",
30 })
31}
32
33func TestNewCmdView(t *testing.T) {
34 tests := []struct {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected