File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ addTests('isCompareWikiPage', [
61
61
'https://github.com/brookhong/Surfingkeys/wiki/Color-Themes/_compare/8ebb46b1a12d16fc1af442b7df0ca13ca3bb34dc...80e51eeabe69b15a3f23880ecc36f800b71e6c6d' ,
62
62
] ) ;
63
63
64
- export const isDashboard = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => ! isGist ( url ) && / ^ $ | ^ ( o r g s \/ [ ^ / ] + \/ ) ? d a s h b o a r d ( \/ | $ ) / . test ( getCleanPathname ( url ) ) ;
64
+ export const isDashboard = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => ! isGist ( url ) && / ^ $ | ^ ( o r g s \/ [ ^ / ] + \/ ) ? d a s h b o a r d ( - f e e d ) ? ( \/ | $ ) / . test ( getCleanPathname ( url ) ) ;
65
65
addTests ( 'isDashboard' , [
66
66
'https://github.com///' ,
67
67
'https://github.com//' ,
@@ -81,6 +81,7 @@ addTests('isDashboard', [
81
81
'https://github.com/?tab=following' , // Gotcha for `isUserProfileFollowingTab`
82
82
'https://github.com/?tab=overview' , // Gotcha for `isUserProfileMainTab`
83
83
'https://github.com?search=1' , // Gotcha for `isRepoTree`
84
+ 'https://github.com/dashboard-feed' ,
84
85
] ) ;
85
86
86
87
export const isEnterprise = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => url . hostname !== 'github.com' && url . hostname !== 'gist.github.com' ;
You can’t perform that action at this time.
0 commit comments