fix: Allow specifying PORT for tests through environment (#9055)

This commit is contained in:
Stevche Radevski authored and GitHub committed 2024-09-09 11:56:15 +02:00
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,