piotrwitek / ts-mocha

Mocha thin wrapper that allows running TypeScript tests with TypeScript runtime (ts-node) to get rid of compilation complexity
MIT License
190 stars 25 forks source link

Errors are thrown as `[object Object]` #45

Closed kerberjg closed 2 years ago

kerberjg commented 5 years ago

Whenever an error is thrown here, I can never see the actual error itself, for example:

/Users/kerberjg/Work/OSS/Yagura/yagura/node_modules/yargs/yargs.js:1163
      else throw err
           ^
[object Object]