Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add test for
nyc --no-clean
. (#1071)
Verify that running `nyc command1 && nyc --no-clean command2` causes results results to be merged.
- Loading branch information
1 parent
21fb2c8
commit 85c1eac
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
const arg = process.argv[2]; | ||
if (arg === '1') { | ||
console.log('1') | ||
} else if (arg === '2') { | ||
console.log('2') | ||
} else { | ||
console.log('unexpected') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters