mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
test: update basic.dev test
components module is not using loader for dev mode anymore
This commit is contained in:
parent
30afe25283
commit
89cc911a89
@ -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.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', () => {
|
test('Config: preset-env and cssnano are at then end of postcss plugins', () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user