test(cli): fix dependency test (#8801)

This commit is contained in:
Daniel Roe 2021-02-09 17:55:23 +00:00 committed by GitHub
parent e5d202badb
commit d0e7dd1c51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -15,7 +15,6 @@ describe('cli/utils', () => {
/webpack@.+ is installed but .+ is expected/
)
)
expect(consola.warn).toHaveBeenCalledTimes(1)
if (process.version.startsWith('v10')) {
expect(consola.warn).toHaveBeenCalledTimes(2)
} else {