From b847b578c78128ad893c8980bff6abf672706789 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 1 Feb 2022 16:02:44 +0000 Subject: [PATCH] Making sure worker runs through ts-node in cypress, locally, then built in CI. --- packages/builder/cypress/setup.js | 2 +- packages/builder/cypress/ts/setup.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/builder/cypress/setup.js b/packages/builder/cypress/setup.js index 07b3cd45c5..0f3d333cb7 100644 --- a/packages/builder/cypress/setup.js +++ b/packages/builder/cypress/setup.js @@ -28,7 +28,7 @@ process.env.LOG_LEVEL = "error" exports.run = ( serverLoc = "../../server/dist", - workerLoc = "../../worker/src/index" + workerLoc = "../../worker/dist" ) => { // require("dotenv").config({ path: resolve(dir, ".env") }) // don't make this a variable or top level require diff --git a/packages/builder/cypress/ts/setup.ts b/packages/builder/cypress/ts/setup.ts index 44d739182c..b6b12bf730 100644 --- a/packages/builder/cypress/ts/setup.ts +++ b/packages/builder/cypress/ts/setup.ts @@ -1,4 +1,4 @@ // @ts-ignore import { run } from "../setup" -run("../../server/src/index") +run("../../server/src/index", "../../worker/src/index")