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
想要评论请 注册 或 登录
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