Using spyOn essentially does a reassignment to the specified property. Before jest.spyOn After jest.spyOn Test double (function) logInfo (function) logInfo ...
確定! 回上一頁