因此,所有建议的解决方案都是关于如何将module选项更改为commonjs,而不是关于如何更改TtypeScript配置。ts-node is configured to ignore this file.If you want ts-node to handle this file, consider enabling the "skipIg
我正在使用摩卡做一个单位测试,在打字稿项目。现在我发现,当我将项目类型设置为模块时,mocha无法工作。typescript-project yarn testwarning package.json: No license field "@types/mocha": "^9.1.0",
"chai":