/app1-e2e中,我为src/apps/app1设置了一些集成测试,它还实现了来自src/libs/lib1的一些代码。这些测试是用Jest编写的,其jest.config.ts与nx run app1-e2e一起运行。一切都很顺利。但是,如果我运行nx run app1-e2e --codeCoverage,就会生成覆盖率<e
根据这个,我想得到jest-junit代码覆盖率报告(本文中的选项2)。所以,在我的package.json中,我调用了这样的玩笑:"test": "jest --config=jest.config.js",module.exports执行npm run test时,我在src/testCoverage文件夹和junit.xml中