Skip to content

Commit

Permalink
Remove accidentally committed console logging from test (github#16813)
Browse files Browse the repository at this point in the history
Co-authored-by: Chiedo John <[email protected]>
  • Loading branch information
JamesMGreene and chiedo authored Dec 15, 2020
1 parent 0f68511 commit 9d73f5a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/unit/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9d73f5a

Please sign in to comment.