There was an error while loading. Please reload this page.
1 parent ecd5776 commit 365aac4Copy full SHA for 365aac4
1 file changed
suite-native/app/e2e/support/reporter/index.js
@@ -1,3 +1,4 @@
1
// JEST supports only commonJS modules https://jestjs.io/docs/code-transformation
2
-require('ts-node/register');
+// tsx/cjs is used instead of ts-node/register to handle ESM packages (e.g. @trezor/utils with "type": "module")
3
+require('tsx/cjs');
4
module.exports = require('./gitHubReporter.ts');
0 commit comments