forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove accidentally committed console logging from test (github#16813)
Co-authored-by: Chiedo John <[email protected]>
- Loading branch information
1 parent
0f68511
commit 9d73f5a
Showing
1 changed file
with
1 addition
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,12 +149,7 @@ describe('pages module', () => { | |
}) | ||
|
||
test('has an identical key list to the deep permalinks of the array', async () => { | ||
const allPermalinks = pages.flatMap(page => page.permalinks.map(pl => { | ||
if (pl.href === '/es/[email protected]/insights/installing-and-configuring-github-insights/updating-github-insights') { | ||
console.log('Source page:', page.relativePath) | ||
} | ||
return pl.href | ||
})).sort() | ||
const allPermalinks = pages.flatMap(page => page.permalinks.map(pl => pl.href)).sort() | ||
const allPageUrls = Object.keys(pageMap).sort() | ||
|
||
expect(allPageUrls).toEqual(allPermalinks) | ||
|