摘要:
When you render a component with the Shallow Renderer, you have access to the underlying object. We can write lots of useful tests to check that our c... 阅读全文
posted @ 2016-01-05 02:26
Zhentiw
阅读(282)
评论(0)
推荐(0)
摘要:
When writing React component tests, it can be hard to decipher the error diffs of broken tests, since they are just the final objects that React uses ... 阅读全文
posted @ 2016-01-05 01:54
Zhentiw
阅读(299)
评论(0)
推荐(0)
摘要:
In this lesson, we walk through how to use one of React's Test Utilities (from thereact-addons-test-utilspackage) called "Shallow Rendering". This let... 阅读全文
posted @ 2016-01-05 01:23
Zhentiw
阅读(351)
评论(0)
推荐(0)

浙公网安备 33010602011771号