Skip to content

Commit

Permalink
should be an array
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Feb 14, 2020
1 parent f0bc600 commit daa037d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/importType.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ describe('importType(name)', function () {
it('`isExternalModule` should work with windows directory separator', function() {
expect(isExternalModule('foo', {}, 'E:\\path\\to\\node_modules\\foo')).to.equal(true)
expect(isExternalModule('foo', {
'import/external-module-folders': 'E:\\path\\to\\node_modules',
'import/external-module-folders': ['E:\\path\\to\\node_modules'],
}, 'E:\\path\\to\\node_modules\\foo')).to.equal(true)
})
})

0 comments on commit daa037d

Please sign in to comment.