摘要:
Both what "TestBed.get" & "injector" trying to do is get service for the test component. But there is some diffenece which determined when use which. 阅读全文
posted @ 2017-10-10 19:21
Zhentiw
阅读(1725)
评论(0)
推荐(0)
摘要:
When you testing Component rendering, you often needs to call: For example: You can also set auto change detection: Add to providers: Tests wit auto c 阅读全文
posted @ 2017-10-10 16:51
Zhentiw
阅读(305)
评论(0)
推荐(0)
摘要:
When using Ngrx, we need to know how to test the component which has Router injected. Component: One thing we can test just for component wihtout temp 阅读全文
posted @ 2017-10-10 15:54
Zhentiw
阅读(590)
评论(0)
推荐(0)
摘要:
More detail check LInk. Render Prop vs HOC: HOC version for withMouse: Problems: Indirection. We still have the same problem with indirection that we 阅读全文
posted @ 2017-10-10 00:27
Zhentiw
阅读(310)
评论(0)
推荐(0)

浙公网安备 33010602011771号