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