We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56873d4 commit 69b911cCopy full SHA for 69b911c
2 files changed
index.js
@@ -57,9 +57,11 @@ export function start(port) {
57
case 'EACCES':
58
console.error(`Port ${p} requires elevated privileges`)
59
process.exit(1)
60
+ break
61
case 'EADDRINUSE':
62
console.error(`Port ${p} is already in use`)
63
64
65
default:
66
throw error
67
}
routes/__tests__/patch.test.js
@@ -1,5 +1,4 @@
1
import { jest } from "@jest/globals"
2
-// dotenv.config() is no longer needed; config module handles environment loading
3
// Only real way to test an express route is to mount it and call it so that we can use the req, res, next.
4
import express from "express"
5
import request from "supertest"
0 commit comments