Skip to content

Commit

Permalink
fix: use relative or absolute spec path for #140
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Oct 18, 2023
1 parent 5c7a5bc commit a9125bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function cypressSplit(on, config) {
// at this point, the specAbsoluteToRelative object should be filled
const specRows = splitSpecs.map((absoluteSpecPath, k) => {
const relativeName = specAbsoluteToRelative[absoluteSpecPath]
const specRow = [String(k + 1), relativeName]
const specRow = [String(k + 1), relativeName || absoluteSpecPath]

const specResult = specResults[absoluteSpecPath]
if (specResult) {
Expand Down

0 comments on commit a9125bd

Please sign in to comment.