diff --git a/tests/src/core/importType.js b/tests/src/core/importType.js index b0d2528c24..6b720f21c3 100644 --- a/tests/src/core/importType.js +++ b/tests/src/core/importType.js @@ -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) }) })