Skip to content

Commit daa037d

Browse files
committed
should be an array
1 parent f0bc600 commit daa037d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/core/importType.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ describe('importType(name)', function () {
228228
it('`isExternalModule` should work with windows directory separator', function() {
229229
expect(isExternalModule('foo', {}, 'E:\\path\\to\\node_modules\\foo')).to.equal(true)
230230
expect(isExternalModule('foo', {
231-
'import/external-module-folders': 'E:\\path\\to\\node_modules',
231+
'import/external-module-folders': ['E:\\path\\to\\node_modules'],
232232
}, 'E:\\path\\to\\node_modules\\foo')).to.equal(true)
233233
})
234234
})

0 commit comments

Comments
 (0)