(context)
| 105 | environment.mock.resolveMostRecentOperation((operation) => |
| 106 | MockPayloadGenerator.generate(operation, { |
| 107 | Topic(context) { |
| 108 | return { |
| 109 | __typename: 'Topic', |
| 110 | children: childrenFor(context), |
| 111 | displayName: 'Existing topic', |
| 112 | displayParentTopics: [], |
| 113 | displaySynonyms: [], |
| 114 | id: 'topic-id', |
| 115 | repoTopics: repoIds.map((repoId) => ({ |
| 116 | repoId, |
| 117 | repo: { |
| 118 | name: repoId, |
| 119 | id: repoId, |
| 120 | }, |
| 121 | })), |
| 122 | viewerCanUpdate: true, |
| 123 | } |
| 124 | }, |
| 125 | |
| 126 | Link() { |
| 127 | return { |
nothing calls this directly
no test coverage detected