Making sure worker runs through ts-node in cypress, locally, then built in CI.

This commit is contained in:
mike12345567 2022-02-01 16:02:44 +00:00
parent e642268364
commit b847b578c7
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
// @ts-ignore
import { run } from "../setup"
run("../../server/src/index")
run("../../server/src/index", "../../worker/src/index")