fix: add missing code coverage ranges that span only a single character (#8911)

This commit is contained in:
smithc
2022-09-07 03:10:07 -04:00
committed by GitHub
parent 260e428227
commit 0c577b9bf8
4 changed files with 19 additions and 8 deletions

View File

@@ -6,6 +6,7 @@ function foo() {
console.log(2);
let x = 1 > 2 ? 'foo' : 'bar';
let y = 1 < 2 ? 'foo' : 'bar';
let p = {a:1 > 2?function(){console.log('unused');}:function(){console.log('unused');}};
let z = () => {};
let q = () => {};
q();