Skip to content

Commit

Permalink
Additional path support for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
howard-e committed Dec 11, 2023
1 parent 6a83aac commit 0423ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/util/report.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const getRegressionTestCoverage = function (exampleCoverage) {
let matchResults;
while ((matchResults = testRegex.exec(avaResults))) {
let example = matchResults[1];
example = example.replace('content/patterns/', '');
example = path.normalize(example.replace('content/patterns/', ''));

// If the test file has a data-test-id, the data-test-id must exist on
// the test page.
Expand Down

0 comments on commit 0423ad7

Please sign in to comment.