()
| 142 | } |
| 143 | |
| 144 | export function areDiscussionsEnabled(): boolean { |
| 145 | const repo = getRepo()!; |
| 146 | return elementExists(`${navigationBarSelector} a[href^="/${repo.nameWithOwner}/discussions"]`); |
| 147 | } |
| 148 | |
| 149 | export const cacheByRepo = (): string => getRepo()!.nameWithOwner; |
| 150 |
no outgoing calls
no test coverage detected