Skip to content

Commit a463805

Browse files
committed
fixed package.json
1 parent b3bb64e commit a463805

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"test": "jest",
77
"start": "node server.js"
88
},
9+
"jest": {
10+
"testEnvironment": "node"
11+
},
912
"keywords": [],
1013
"author": "",
1114
"license": "ISC",
@@ -17,4 +20,4 @@
1720
"jest": "^30.2.0",
1821
"supertest": "^7.1.4"
1922
}
20-
}
23+
}

server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
const app = require("./app");
1+
const Server = require("./app");
22
const PORT = 3000;
3-
app.listen(PORT, () => console.log(`Server running on port ${PORT}`));
3+
Server.listen(PORT, () => console.log(`Server running on port ${PORT}`));

0 commit comments

Comments
 (0)