mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
test(integration): fix --turbo tests fixture setup (#55293)
### What? Update few test fixture setup doesn't invoke --turbo based on the conditions. Closes WEB-1543
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import { createNextDescribe } from 'e2e-utils'
|
||||
import https from 'https'
|
||||
import { renderViaHTTP } from 'next-test-utils'
|
||||
import { renderViaHTTP, shouldRunTurboDevTest } from 'next-test-utils'
|
||||
|
||||
createNextDescribe(
|
||||
'experimental-https-server (provided certificate)',
|
||||
{
|
||||
files: __dirname,
|
||||
startCommand:
|
||||
'yarn next dev --experimental-https --experimental-https-key ./certificates/localhost-key.pem --experimental-https-cert ./certificates/localhost.pem',
|
||||
startCommand: `yarn next ${
|
||||
shouldRunTurboDevTest() ? 'dev --turbo' : 'dev'
|
||||
} --experimental-https --experimental-https-key ./certificates/localhost-key.pem --experimental-https-cert ./certificates/localhost.pem`,
|
||||
},
|
||||
({ next }) => {
|
||||
const agent = new https.Agent({
|
||||
|
||||
Reference in New Issue
Block a user