-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
35 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 |
---|---|---|
|
@@ -7,6 +7,7 @@ function callback() { | |
block comment | ||
*/ | ||
|
||
/* v8 ignore next 3 */ | ||
function other() { | ||
|
||
} | ||
|
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,33 @@ | ||
|
||
const platform = 'wind32'; | ||
|
||
/* v8 ignore next */ | ||
if (platform === 'darwin') { | ||
console.info('hello darwin'); | ||
} | ||
|
||
|
||
/* v8 ignore next 3 */ | ||
if (platform === 'linux') { | ||
console.info('hello linux'); | ||
} | ||
|
||
|
||
const os = platform === 'wind32' ? 'Windows' /* v8 ignore next */ : 'Other'; | ||
|
||
/* v8 ignore start */ | ||
function uncovered(v) { | ||
console.log(os); | ||
} | ||
|
||
/* v8 ignore stop */ | ||
|
||
const ignore = () => { | ||
const v = 1; | ||
|
||
/* v8 ignore start */ | ||
uncovered(v); | ||
}; | ||
|
||
|
||
export { ignore }; |
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