Skip to content

Commit

Permalink
Merge branch 'canary' into fix/trace-version
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] committed Nov 4, 2021
2 parents 7cf1bdd + b408d73 commit dee834a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration/preload-viewport/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,8 @@ describe('Prefetching Links in viewport', () => {
})()`)

console.log({ linkHrefs, scriptSrcs })
expect(linkHrefs.some((href) => scriptSrcs.includes(href))).toBe(false)
expect(scriptSrcs.some((src) => src.includes('pages/index-'))).toBe(true)
expect(linkHrefs.some((href) => href.includes('pages/index-'))).toBe(false)
})

it('should not duplicate prefetches', async () => {
Expand Down

0 comments on commit dee834a

Please sign in to comment.