test: update basic.dev (components module)

This commit is contained in:
Pooya Parsa 2020-12-06 16:53:35 +01:00
parent 992f608adb
commit 1b38a12fad

View File

@ -106,7 +106,7 @@ describe('basic dev', () => {
) )
const { cssModules, vue } = loadersOptions const { cssModules, vue } = loadersOptions
expect(cssModules.modules.localIdentName).toBe('[hash:base64:6]') 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', () => { test('Config: preset-env and cssnano are at then end of postcss plugins', () => {