為什麼最後我選擇用 React testing library 而放棄 Enzyme 原文链接: https://medium.com/hannah-lin/%E7%82%BA%E4%BB%80%E9%BA%BC%E6%9C%80%E5%BE%8C%E6%88%91%E9%81%B8%E6%93%87%E7%94%A8-react-testing-library-%E8%80%8C%E6%94%BE%E6%A3%84-enzyme-2374bb569a60?source=rss—-b1c4573460d3—4 React Testing Library 著重於測試使用體驗; Enzyme 則著重於測試 component 的內部實現細節像 state、lifecycle 等 Continue reading on Hannah Lin » 本文转自: https://medium.com/hannah-lin/%E7%82%BA%E4%BB%80%E9%BA%BC%E6%9C%80%E5%BE%8C%E6%88%91%E9%81%B8%E6%93%87%E7%94%A8-react-testing-library-%E8%80%8C%E6%94%BE%E6%A3%84-enzyme-2374bb569a60?source=rss—-b1c4573460d3—4 本站仅做收录,版权归原作者所有。 Post Views: 74