Skip to content

Commit 69b911c

Browse files
committed
Incorporated feedback
1 parent 56873d4 commit 69b911c

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,11 @@ export function start(port) {
5757
case 'EACCES':
5858
console.error(`Port ${p} requires elevated privileges`)
5959
process.exit(1)
60+
break
6061
case 'EADDRINUSE':
6162
console.error(`Port ${p} is already in use`)
6263
process.exit(1)
64+
break
6365
default:
6466
throw error
6567
}

routes/__tests__/patch.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { jest } from "@jest/globals"
2-
// dotenv.config() is no longer needed; config module handles environment loading
32
// Only real way to test an express route is to mount it and call it so that we can use the req, res, next.
43
import express from "express"
54
import request from "supertest"

0 commit comments

Comments
 (0)