forceUpdate (); app.find("button").simulate("mouseleave"); expect(spy).toHaveBeenCalled(); });. Copy. Let us consider the first unit test case.
確定! 回上一頁