fix: Allow specifying PORT for tests through environment (#9055)
This commit is contained in:
1 parent
32ebfa619f
commit
4031da35b0
1 file changed
+1
-1
@@ -19,7 +19,7 @@ async function bootstrapApp({
|
|||||||
expressApp: app,
|
expressApp: app,
|
||||||
})
|
})
|
||||||
|
|
||||||
const PORT = await getPort()
|
const PORT = process.env.PORT ? parseInt(process.env.PORT) : await getPort()
|
||||||
|
|
||||||
return {
|
return {
|
||||||
shutdown,
|
shutdown,
|
||||||
|
|||||||
Reference in new issue
Block a user