Skip to content

Commit

Permalink
chore: Fix tests
Browse files Browse the repository at this point in the history
PR #207 broke tests from #172
  • Loading branch information
coreyfarrell committed May 16, 2019
1 parent a314f06 commit 16080ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/babel-plugin-istanbul.js
Expand Up @@ -34,7 +34,7 @@ describe('babel-plugin-istanbul', function () {
it('should instrument file if shouldSkip returns false', function () {
var result = babel.transformFileSync('./fixtures/node_modules/should-cover.js', {
plugins: [
[makeVisitor({ types: babel.types }), {
[makeVisitor, {
excludeNodeModules: false,
exclude: ['node_modules/**'],
include: ['fixtures/node_modules/should-cover.js']
Expand All @@ -47,7 +47,7 @@ describe('babel-plugin-istanbul', function () {
it('should not instrument file if shouldSkip returns true', function () {
var result = babel.transformFileSync('./fixtures/node_modules/should-not-cover.js', {
plugins: [
[makeVisitor({ types: babel.types }), {
[makeVisitor, {
include: ['fixtures/node_modules/should-not-cover.js']
}]
]
Expand Down

0 comments on commit 16080ab

Please sign in to comment.