At Facebook, we use Jest to test React applications. ... onMouseEnter(); // re-rendering tree = component.toJSON(); expect(tree).
確定! 回上一頁