mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(test-utils): override NITRO_PORT
as well (#8458)
This commit is contained in:
parent
1683396633
commit
452766e90e
@ -21,6 +21,7 @@ export async function startServer () {
|
||||
env: {
|
||||
...process.env,
|
||||
PORT: String(port),
|
||||
NITRO_PORT: String(port),
|
||||
NODE_ENV: 'development'
|
||||
}
|
||||
})
|
||||
@ -43,6 +44,7 @@ export async function startServer () {
|
||||
env: {
|
||||
...process.env,
|
||||
PORT: String(port),
|
||||
NITRO_PORT: String(port),
|
||||
NODE_ENV: 'test'
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user