how to unit test your React components in an isolated manner. ... onMouseEnter(); // re-rendering tree = component.toJSON(); expect(tree).
確定! 回上一頁