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

Commit

Permalink
fix(test-utils): override NITRO_PORT as well
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Oct 25, 2022
1 parent 1683396 commit eacf73b
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit eacf73b

Please sign in to comment.