Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix tsx testing

Chocobozzz0db27b44f315
diff --git a/.mocharc.cjs b/.mocharc.cjs
index a9ed4037c2..7844652481 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"
],