fix: mock-log lint

This commit is contained in:
Clark Du 2018-04-13 15:25:34 +08:00
parent 21334c21e0
commit 4049c2b19a
No known key found for this signature in database
GPG Key ID: D0E5986AF78B86D9

View File

@ -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(() => {