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" ],