Skip to content

Commit 0ee0362

Browse files
committed
Switch test from next dev to next start
1 parent f571ae6 commit 0ee0362

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/image-optimizer/test/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -854,10 +854,10 @@ describe('Image Optimizer', () => {
854854
},
855855
}`
856856
nextConfig.replace('{ /* replaceme */ }', newConfig)
857+
await nextBuild(appDir)
857858
appPort = await findPort()
858-
app = await launchApp(appDir, appPort)
859+
app = await nextStart(appDir, appPort)
859860
})
860-
861861
afterAll(async () => {
862862
await killApp(app)
863863
nextConfig.restore()

0 commit comments

Comments
 (0)