test: update basic.dev test

components module is not using loader for dev mode anymore
This commit is contained in:
Pooya Parsa 2021-02-10 14:58:10 +01:00
parent 30afe25283
commit 89cc911a89

View File

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