From daa037d004c0af97aa2fcce780e367f290fd964d Mon Sep 17 00:00:00 2001 From: fisker Date: Fri, 14 Feb 2020 15:36:52 +0800 Subject: [PATCH] should be an array --- tests/src/core/importType.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }) })