I was able to introspect calls to the child component's function using jest.spyOn() , like this: it("sends stuff to the child component", ...
確定! 回上一頁