diff --git a/test/dev/basic.dev.test.js b/test/dev/basic.dev.test.js index 18d89ccaf4..5d12d631a0 100644 --- a/test/dev/basic.dev.test.js +++ b/test/dev/basic.dev.test.js @@ -106,7 +106,7 @@ describe('basic dev', () => { ) const { cssModules, vue } = loadersOptions expect(cssModules.modules.localIdentName).toBe('[hash:base64:6]') - expect(vueLoader.options).toBe(vue) + expect(vueLoader.use[1 /* 0 is components loader */].options).toBe(vue) }) test('Config: preset-env and cssnano are at then end of postcss plugins', () => {