Skip to content

Commit

Permalink
explicitly call nyc with node
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed May 17, 2024
1 parent e14700d commit 2324514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test-storybook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async function reportCoverage() {
if (process.env.JEST_SHARD !== 'true') {
const nycBinFullPath = getNycBinPath();
execSync(
`${nycBinFullPath} report --reporter=text --reporter=lcov -t ${coverageFolder} --report-dir ${coverageFolder}`,
`node ${nycBinFullPath} report --reporter=text --reporter=lcov -t ${coverageFolder} --report-dir ${coverageFolder}`,
{
stdio: 'inherit',
cwd: process.cwd(),
Expand Down

0 comments on commit 2324514

Please sign in to comment.