From 829603fa69cd53d6fb3ed4c2c6ed112ed4f01a35 Mon Sep 17 00:00:00 2001 From: Rory Powell Date: Mon, 31 Jan 2022 22:00:12 +0000 Subject: [PATCH] Update cypress to point to dist/index for worker --- packages/builder/cypress/setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/cypress/setup.js b/packages/builder/cypress/setup.js index 7657303853..cf5ec53ceb 100644 --- a/packages/builder/cypress/setup.js +++ b/packages/builder/cypress/setup.js @@ -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"))