(test, filePath)
| 280 | } |
| 281 | |
| 282 | function attachJUnitArtifact(test, filePath) { |
| 283 | const mocha = Container.mocha?.() |
| 284 | const junit = mocha?.options?.reporterOptions?.['mocha-junit-reporter'] |
| 285 | if (junit?.options?.attachments) { |
| 286 | test.attachments = test.attachments || [] |
| 287 | test.attachments.push(filePath) |
| 288 | } |
| 289 | } |
no test coverage detected