Skip to content

Commit

Permalink
Fix test cases. Adding next/link to not trigger a different bug
Browse files Browse the repository at this point in the history
  • Loading branch information
janicklas-ralph committed Oct 22, 2019
1 parent ea1dd2a commit e927678
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/integration/chunking/pages/page2.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useState, useEffect } from 'react'
import _ from 'lodash'
import dynamic from 'next/dynamic'
import Link from 'next/link'

const One = dynamic(() => import('../components/one'))

Expand All @@ -16,6 +17,7 @@ const Page = () => {
page2
<p id='padded-str'>{str}</p>
<One />
<Link href='/page3'>Page3</Link>
</div>
)
}
Expand Down
2 changes: 1 addition & 1 deletion test/integration/chunking/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
findPort,
waitFor,
nextStart,
killApp,
killApp
} from 'next-test-utils'
import { readdir, readFile, unlink, access } from 'fs-extra'
import cheerio from 'cheerio'
Expand Down

0 comments on commit e927678

Please sign in to comment.