Get server/worker tests to run.

This commit is contained in:
mike12345567 2023-09-14 10:55:41 +01:00
parent 4daa996044
commit 4ca9ea97b6
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ function runServer() {
process.env.GLOBAL_AGENT_FORCE_GLOBAL_AGENT = "false"
bootstrap()
require("./app")
console.log("test")
}
runServer()

View File

@ -109,6 +109,7 @@ export default server.listen(parseInt(env.PORT || "4002"), async () => {
console.log(`Worker running on ${JSON.stringify(server.address())}`)
await initPro()
await redis.init()
console.log("test")
})
process.on("uncaughtException", err => {