How to make es6 module imports resolve correctly both for compiling via tsc and executing unit tests with Mocha without compiling using ts-node

前端 未结 0 371
醉梦人生
醉梦人生 2021-01-31 03:10

I have a node based project using typescript and es6 module imports.

To execute unit testing without having to compile the typescript, Mocha with ts-node is used.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题