1
0
Fork 0
mirror of synced 2024-10-01 17:47:46 +13:00

Update cypress to point to dist/index for worker

This commit is contained in:
Rory Powell 2022-01-31 22:00:12 +00:00
parent d1bcf4f3ba
commit 829603fa69

View file

@ -40,7 +40,7 @@ async function run() {
// it will cause environment module to be loaded prematurely
const server = require("../../server/dist/app")
process.env.PORT = WORKER_PORT
const worker = require("../../worker/src/index")
const worker = require("../../worker/dist/index")
// reload main port for rest of system
process.env.PORT = MAIN_PORT
server.on("close", () => console.log("Server Closed"))