mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-17 23:07:08 +01:00
test: write integration test for pytest
This commit is contained in:
parent
60eba29d80
commit
3ec78ee9ff
2 changed files with 79 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ export class PytestJunitParser implements TestParser {
|
|||
private getAbsolutePath(path: string): string {
|
||||
const relativePath = this.getRelativePath(path)
|
||||
for (const file of this.options.trackedFiles) {
|
||||
if (file.endsWith(relativePath)) {
|
||||
if (relativePath.endsWith(file)) {
|
||||
return file
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue