@@ -434,29 +434,29 @@ test('🧪 run() should convert patterns to locations.', async (t) => {
434434 ? `::debug::Parsing 2 coverage location(s) — ${ DEFAULT_WORKDIR } \\file-a.lcov:lcov,${ DEFAULT_WORKDIR } \\file-b.lcov:lcov (object)`
435435 : `::debug::Parsing 2 coverage location(s) — ${ DEFAULT_WORKDIR } /file-a.lcov:lcov,${ DEFAULT_WORKDIR } /file-b.lcov:lcov (object)` ,
436436 PLATFORM === 'win32'
437- ? `[command]${ DEFAULT_WORKDIR } \\test.${ EXE_EXT } format-coverage ${ DEFAULT_WORKDIR } \\file-a.lcov -t lcov -o codeclimate.0.json`
437+ ? `[command]${ EXE_PATH_PREFIX } " ${ DEFAULT_WORKDIR } \\test.${ EXE_EXT } format-coverage ${ DEFAULT_WORKDIR } \\file-a.lcov -t lcov -o codeclimate.0.json" `
438438 : `[command]${ DEFAULT_WORKDIR } /test.${ EXE_EXT } format-coverage ${ DEFAULT_WORKDIR } /file-a.lcov -t lcov -o codeclimate.0.json` ,
439439 PLATFORM === 'win32'
440440 ? `format-coverage ${ DEFAULT_WORKDIR } \\file-a.lcov -t lcov -o codeclimate.0.json`
441441 : `format-coverage ${ DEFAULT_WORKDIR } /file-a.lcov -t lcov -o codeclimate.0.json` ,
442442 PLATFORM === 'win32'
443- ? `[command]${ DEFAULT_WORKDIR } \\test.${ EXE_EXT } format-coverage ${ DEFAULT_WORKDIR } \\file-b.lcov -t lcov -o codeclimate.1.json`
443+ ? `[command]${ EXE_PATH_PREFIX } " ${ DEFAULT_WORKDIR } \\test.${ EXE_EXT } format-coverage ${ DEFAULT_WORKDIR } \\file-b.lcov -t lcov -o codeclimate.1.json" `
444444 : `[command]${ DEFAULT_WORKDIR } /test.${ EXE_EXT } format-coverage ${ DEFAULT_WORKDIR } /file-b.lcov -t lcov -o codeclimate.1.json` ,
445445 PLATFORM === 'win32'
446446 ? `format-coverage ${ DEFAULT_WORKDIR } \\file-b.lcov -t lcov -o codeclimate.1.json`
447447 : `format-coverage ${ DEFAULT_WORKDIR } /file-b.lcov -t lcov -o codeclimate.1.json` ,
448448 PLATFORM === 'win32'
449- ? `[command]${ DEFAULT_WORKDIR } \\test.${ EXE_EXT } sum-coverage codeclimate.0.json codeclimate.1.json -p 2 -o coverage.total.json`
449+ ? `[command]${ EXE_PATH_PREFIX } " ${ DEFAULT_WORKDIR } \\test.${ EXE_EXT } sum-coverage codeclimate.0.json codeclimate.1.json -p 2 -o coverage.total.json" `
450450 : `[command]${ DEFAULT_WORKDIR } /test.${ EXE_EXT } sum-coverage codeclimate.0.json codeclimate.1.json -p 2 -o coverage.total.json` ,
451451 `sum-coverage codeclimate.0.json codeclimate.1.json -p 2 -o coverage.total.json` ,
452452 PLATFORM === 'win32'
453- ? `[command]${ DEFAULT_WORKDIR } \\test.${ EXE_EXT } upload-coverage -i coverage.total.json`
453+ ? `[command]${ EXE_PATH_PREFIX } " ${ DEFAULT_WORKDIR } \\test.${ EXE_EXT } upload-coverage -i coverage.total.json" `
454454 : `[command]${ DEFAULT_WORKDIR } /test.${ EXE_EXT } upload-coverage -i coverage.total.json` ,
455455 `upload-coverage -i coverage.total.json` ,
456456 `::debug::✅ CC Reporter upload coverage completed!` ,
457457 `` ,
458458 ] . join ( EOL ) ,
459- 'should execute all steps (except running the coverage command ).'
459+ 'should execute all steps (including uploading globbed coverage files ).'
460460 ) ;
461461 unlinkSync ( filePath ) ;
462462 unlinkSync ( `${ filePath } .sha256` ) ;
0 commit comments