Jest .fn() and .spyOn() spy/stub/mock assertion reference · jest.toBeCalled()/.toHaveBeenCalled() : assert a stub/spy has been called. In Jest, ...
確定! 回上一頁