Skip to content

Commit

Permalink
Merge pull request #4544 from Sebastian-Webster/fix-windows-coverage-…
Browse files Browse the repository at this point in the history
…result

Fixed test coverage report failing to generate on Windows
  • Loading branch information
junedchhipa authored Jun 26, 2024
2 parents 7d02a91 + 69a829f commit 14f6e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/samples.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ async function processSamples(command, paths) {
const { status } = spawnSync(
`${rootDir}/node_modules/.bin/nyc`,
['report', '--reporter=html'],
{ cwd: rootDir }
{ cwd: rootDir, shell: process.platform === 'win32' }
)

if (status === 0) {
Expand Down

0 comments on commit 14f6e28

Please sign in to comment.