Skip to content

Commit

Permalink
fix: should not include /
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Jan 6, 2019
1 parent 57b945f commit 3d43ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/nyc-tap.js
Expand Up @@ -247,7 +247,7 @@ describe('nyc', function () {
).parse())

nyc['_handleJs'] = (code, options) => {
if (options.filename.indexOf('/check-instrumented.es6') !== -1) {
if (options.filename.indexOf('check-instrumented.es6') !== -1) {
required.es6 = true
}
if (options.filename.indexOf('check-instrumented.foo.bar') !== -1) {
Expand Down

0 comments on commit 3d43ee0

Please sign in to comment.