Get server/worker tests to run.
This commit is contained in:
parent
4daa996044
commit
4ca9ea97b6
|
@ -11,6 +11,7 @@ function runServer() {
|
|||
process.env.GLOBAL_AGENT_FORCE_GLOBAL_AGENT = "false"
|
||||
bootstrap()
|
||||
require("./app")
|
||||
console.log("test")
|
||||
}
|
||||
|
||||
runServer()
|
||||
|
|
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue