@@ -215,10 +215,10 @@ TEST: addTests('isIssue', [
215215 'https://github.com/sindresorhus/refined-github/issues/146' ,
216216] ) ;
217217
218- export const isIssueOrPRList = ( url : URL | HTMLAnchorElement | Location = location ) : boolean =>
219- isGlobalIssueOrPRList ( url )
220- || isRepoIssueOrPRList ( url )
221- || isMilestone ( url ) ;
218+ export const isIssueList = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => isRepoIssueList ( url ) || isGlobalIssueList ( url ) || isMilestone ( url ) ;
219+ TEST: addTests ( 'isIssueList' , combinedTestOnly ) ;
220+
221+ export const isIssueOrPRList = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => isIssueList ( url ) || isPRList ( url ) ;
222222TEST: addTests ( 'isIssueOrPRList' , combinedTestOnly ) ;
223223
224224export const isConversation = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => isIssue ( url ) || isPRConversation ( url ) ;
@@ -540,8 +540,8 @@ TEST: addTests('isRepoHome', [
540540 'https://github.com/sindresorhus/search' ,
541541 'https://github.com/sindresorhus/branches' ,
542542 'https://github.com/sindresorhus/refined-github?files=1' ,
543- 'https://github.com/pullsuser/my-library' , // Gotcha for isRepoPRList
544- 'https://github.com/issuesuser/my-library' , // Gotcha for isRepoIssueList
543+ 'https://github.com/pullsuser/my-library' ,
544+ 'https://github.com/issuesuser/my-library' ,
545545] ) ;
546546
547547export type RepoExplorerInfo = {
0 commit comments