Skip to content
代码片段 群组 项目
未验证 提交 0e8e9810 编辑于 作者: mfluharty's avatar mfluharty
浏览文件

Use addFileAttribute in jest-junit config

When running the jest job in a CI environment,
this puts the file name of the *spec.js file for each test case
into the properties for its <testcase> in the junit_jest.xml artifact
上级 803d87fe
No related branches found
No related tags found
无相关合并请求
...@@ -13,6 +13,7 @@ module.exports = path => { ...@@ -13,6 +13,7 @@ module.exports = path => {
'jest-junit', 'jest-junit',
{ {
outputName: './junit_jest.xml', outputName: './junit_jest.xml',
addFileAttribute: 'true',
}, },
]); ]);
} }
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册