Let's clean those up with jest.spyOn. 复制代码. beforeAll(() => { // do log out any error message jest.spyOn(console, 'error').
確定! 回上一頁