我正在使用 jest-junit 运行测试,我想更改输出文件的默认名称,即junit.xml
. 我不想在 package.json 或 jest.config 中指定输出名称,而是想在 ci 中指定它,例如
npx jest --ci --testResultsProcessor="jest-junit" --outputName="test.xml"
但这仍然将输出文件作为 junit.xml 提供。这里有什么遗漏吗?
我正在使用 jest-junit 运行测试,我想更改输出文件的默认名称,即junit.xml
. 我不想在 package.json 或 jest.config 中指定输出名称,而是想在 ci 中指定它,例如
npx jest --ci --testResultsProcessor="jest-junit" --outputName="test.xml"
但这仍然将输出文件作为 junit.xml 提供。这里有什么遗漏吗?