import TestUtils from 'react-addons-test-utils';. 然后,写一个Shallow Rendering 函数,该函数返回的就是一个浅渲染的虚拟DOM对象。 import ...
確定! 回上一頁