React provides an API via the react-dom/test-utils module ... we assume that the component renders an HTML footer element (tree.find( "footer" )).
確定! 回上一頁