From 0db27b44f31564c51472d1d73f386310447533e6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 23 Feb 2024 15:46:55 +0100 Subject: [PATCH] Fix tsx testing --- .mocharc.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mocharc.cjs b/.mocharc.cjs index a9ed4037c..784465248 100644 --- a/.mocharc.cjs +++ b/.mocharc.cjs @@ -2,7 +2,7 @@ process.env.TSX_TSCONFIG_PATH = './packages/tests/tsconfig.json' module.exports = { "node-option": [ - "import=tsx", + "loader=tsx/esm", "no-warnings", "conditions=peertube:tsx" ],