mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
test(cli): fix dependency test (#8801)
This commit is contained in:
parent
e5d202badb
commit
d0e7dd1c51
@ -15,7 +15,6 @@ describe('cli/utils', () => {
|
|||||||
/webpack@.+ is installed but .+ is expected/
|
/webpack@.+ is installed but .+ is expected/
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
expect(consola.warn).toHaveBeenCalledTimes(1)
|
|
||||||
if (process.version.startsWith('v10')) {
|
if (process.version.startsWith('v10')) {
|
||||||
expect(consola.warn).toHaveBeenCalledTimes(2)
|
expect(consola.warn).toHaveBeenCalledTimes(2)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user