Using react-dom we have code like this to test a react component ... appendChild(container); }); afterEach(() => { // cleanup on exiting ReactDOM.
確定! 回上一頁