Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(test-utils): override NITRO_PORT as well #8458

Merged
merged 1 commit into from Oct 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/test-utils/src/server.ts
Expand Up @@ -21,6 +21,7 @@ export async function startServer () {
env: {
...process.env,
PORT: String(port),
NITRO_PORT: String(port),
NODE_ENV: 'development'
}
})
Expand All @@ -43,6 +44,7 @@ export async function startServer () {
env: {
...process.env,
PORT: String(port),
NITRO_PORT: String(port),
NODE_ENV: 'test'
}
})
Expand Down