From 82a9cc77aace7eee64ebc888fbb7d075a91b1e4c Mon Sep 17 00:00:00 2001 From: zkldi Date: Thu, 20 Oct 2022 11:49:12 +0100 Subject: [PATCH] fix: we can't use pnpm ts-node i have no idea why this doesn't work but I don't have the time to investigate properly at the moment. How bizarre. We definitely have ts-node installed, and pnpm ts-node should work reliably. If anything, what we're doing right now *shouldn't* work! --- server/src/test-utils/hack-setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/test-utils/hack-setup.js b/server/src/test-utils/hack-setup.js index f189548db..97c5169cc 100644 --- a/server/src/test-utils/hack-setup.js +++ b/server/src/test-utils/hack-setup.js @@ -7,4 +7,4 @@ const path = require("path"); const assert = require("assert"); assert(process.env.NODE_ENV === "test", "NODE_ENV WAS NOT TEST, BAILING"); -execSync(`pnpm ts-node ${path.join(__dirname, "./setup.ts")}`, { stdio: "inherit" }); +execSync(`ts-node ${path.join(__dirname, "./setup.ts")}`, { stdio: "inherit" });