-
-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: a bit contrived, but updated to ES6 syntax that was handled poor…
…ly by old Istanbul
- Loading branch information
Benjamin Coe
committed
Jun 27, 2016
1 parent
2e1291b
commit 6d8cfb4
Showing
2 changed files
with
18 additions
and
12 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 |
---|---|---|
@@ -1,17 +1,23 @@ | ||
'use strict' | ||
|
||
let probe = () => { | ||
let missed = () => { | ||
console.log('do not hit') | ||
class Yarsay { | ||
constructor() { | ||
console.log('sup') | ||
} | ||
} | ||
|
||
let b = () => { | ||
console.log('hit this method') | ||
} | ||
hit() { | ||
console.log('do not hit') | ||
let miss = () => { | ||
console.log('do not hit') | ||
} | ||
} | ||
|
||
module.exports = () => { | ||
console.log('do not hit') | ||
miss() { | ||
let miss = () => { | ||
console.log('do not hit') | ||
} | ||
} | ||
} | ||
|
||
b() | ||
let y = new Yarsay() | ||
y.hit() |
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