Skip to content

Commit

Permalink
Merge pull request #151 from testomatio/newman-fix
Browse files Browse the repository at this point in the history
fix file absence for test
  • Loading branch information
olexandr13 committed Mar 7, 2024
2 parents c58ce6c + b7e02ea commit be151c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Reporter {
// unify path to use slashes (prevent backslashes on windows)
test.file = test.file?.replace(/\\/g, '/');
// add prepend dir to path
test.file = path.join(process.env.TESTOMATIO_PREPEND_DIR || '', test.file);
test.file = path.join(process.env.TESTOMATIO_PREPEND_DIR || '', test.file || '');
return test;
});
this.tests = tests;
Expand Down

0 comments on commit be151c3

Please sign in to comment.