Skip to content

Commit c2e674d

Browse files
hopefully fix tests
1 parent f0e50cf commit c2e674d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,8 @@ TEST: addTests('isRepo', [
466466
'https://github.com/sindresorhus/refined-github/milestones/1/edit', // Gotcha for isRepoTaxonomyIssueOrPRList
467467
'https://github.com/sindresorhus/refined-github/issues/new/choose', // Gotcha for isRepoIssueList
468468
'https://github.com/sindresorhus/refined-github/issues/templates/edit', // Gotcha for isRepoIssueList
469-
'https://github.com//pullsuser/my-library', // Gotcha for isRepoPRList
470-
'https://github.com//issuesuser/my-library', // Gotcha for isRepoIssueList
469+
'https://github.com/pullsuser/my-library', // Gotcha for isRepoPRList
470+
'https://github.com/issuesuser/my-library', // Gotcha for isRepoIssueList
471471
]);
472472

473473
export const hasRepoHeader = (url: URL | HTMLAnchorElement | Location = location): boolean => isRepo(url) && !isRepoSearch(url);
@@ -542,6 +542,8 @@ TEST: addTests('isRepoHome', [
542542
'https://github.com/sindresorhus/search',
543543
'https://github.com/sindresorhus/branches',
544544
'https://github.com/sindresorhus/refined-github?files=1',
545+
'https://github.com/pullsuser/my-library', // Gotcha for isRepoPRList
546+
'https://github.com/issuesuser/my-library', // Gotcha for isRepoIssueList
545547
]);
546548

547549
export type RepoExplorerInfo = {

0 commit comments

Comments
 (0)