Skip to content

Commit 6c9fe69

Browse files
committed
fix lint
1 parent 81d198f commit 6c9fe69

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

test/integration/react-18/test/basics.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import webdriver from 'next-webdriver'
44
import cheerio from 'cheerio'
5-
import { fetchViaHTTP, renderViaHTTP, File, findPort } from 'next-test-utils'
5+
import { fetchViaHTTP, renderViaHTTP } from 'next-test-utils'
66

7-
export default (context, render) => {
7+
export default (context) => {
88
it('hydrates correctly for normal page', async () => {
99
const browser = await webdriver(context.appPort, '/')
1010
expect(await browser.eval('window.didHydrate')).toBe(true)

test/integration/react-18/test/index.test.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,7 @@ describe('React 18 Support', () => {
120120
})
121121

122122
describe('Basics', () => {
123-
runTests('default setting with react 18', (context) =>
124-
basics(context, (p, q) => renderViaHTTP(context.appPort, p, q))
125-
)
123+
runTests('default setting with react 18', (context) => basics(context))
126124

127125
it('suspense is not allowed in blocking rendering mode (dev)', async () => {
128126
// set dynamic.suspense = true but not wrapping with <Suspense>

0 commit comments

Comments
 (0)