mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
refactor: only mock necessary levels
This commit is contained in:
parent
7890d9c078
commit
050ed02fee
@ -2,7 +2,7 @@ import { Utils } from '../utils'
|
||||
import mockConsole from '../utils/console'
|
||||
|
||||
describe('utils', () => {
|
||||
const console = mockConsole()
|
||||
const console = mockConsole(['warn', 'error'])
|
||||
|
||||
test('printWarn', () => {
|
||||
Utils.printWarn('Testing printWarn', 'utils.test.js')
|
||||
|
Loading…
Reference in New Issue
Block a user