mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix: mock-log lint
This commit is contained in:
parent
21334c21e0
commit
4049c2b19a
@ -5,7 +5,7 @@ export default function mockLog(levels = 'all', logger = console) {
|
||||
}
|
||||
beforeAll(() => {
|
||||
for (let level of levels) {
|
||||
jest.spyOn(logger, level).mockImplementation(()=>{})
|
||||
jest.spyOn(logger, level).mockImplementation(() => {})
|
||||
}
|
||||
})
|
||||
beforeEach(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user