Skip to content

Commit

Permalink
chore: only call reject in downProcess.once('exit'
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Jun 13, 2024
1 parent bba702a commit 06c25c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ export const runDockerCompose = async (
reject(
new Error(`docker compose down failed with exit code ${code}`)
)
return
}
resolve()
})
Expand Down

0 comments on commit 06c25c6

Please sign in to comment.