mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
mock consola with jest
This commit is contained in:
parent
76b4932acc
commit
5f2cf99eb9
@ -1,4 +1,10 @@
|
||||
// eslint-disable
|
||||
require('babel-polyfill')
|
||||
|
||||
const consola = require('consola')
|
||||
|
||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60 * 1000
|
||||
|
||||
consola.clear().add({
|
||||
log: jest.fn()
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user