Skip to content

Commit

Permalink
Improve test accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Oct 3, 2020
1 parent 8595630 commit 9035a57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/kill-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ async function assertIsNotRunning(port: number) {
await got(`http://localhost:${port}`)
} catch (e) {
assert.equal(e.code, "ECONNREFUSED")
return
}
assert.fail("should not reach this")
}

0 comments on commit 9035a57

Please sign in to comment.