mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Cleanup shouldRunTurboDevTest usage (#82603)
Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
parent
662918f9a2
commit
eba04da2cf
@@ -1,13 +1,11 @@
|
||||
import { nextTestSetup } from 'e2e-utils'
|
||||
import https from 'https'
|
||||
import { renderViaHTTP, shouldRunTurboDevTest } from 'next-test-utils'
|
||||
import { renderViaHTTP } from 'next-test-utils'
|
||||
|
||||
describe('experimental-https-server (provided certificate)', () => {
|
||||
const { next } = nextTestSetup({
|
||||
files: __dirname,
|
||||
startCommand: `pnpm next ${
|
||||
shouldRunTurboDevTest() ? 'dev --turbo' : 'dev'
|
||||
} --experimental-https --experimental-https-key ./certificates/localhost-key.pem --experimental-https-cert ./certificates/localhost.pem`,
|
||||
startCommand: `pnpm next dev --experimental-https --experimental-https-key ./certificates/localhost-key.pem --experimental-https-cert ./certificates/localhost.pem`,
|
||||
})
|
||||
const agent = new https.Agent({
|
||||
rejectUnauthorized: false,
|
||||
|
||||
Reference in New Issue
Block a user