()
| 56 | }); |
| 57 | |
| 58 | async function getSearchQueryBugLabel(): Promise<string> { |
| 59 | const {label} = await bugs.getCached() ?? {}; |
| 60 | return `(label:${SearchQuery.escapeValue(label ?? 'bug')} OR type:Bug)`; |
| 61 | } |
| 62 | |
| 63 | async function isBugsListing(): Promise<boolean> { |
| 64 | return SearchQuery.from(location).includes(await getSearchQueryBugLabel()); |
no test coverage detected