How do you test contextual components?
Let’s say I have the code in the EmberJS - Sharing Component Data with its Wrapped Content guide, and I’m looking to test blog-post
. In the example, blog-post
yields another component – either markdown-style
or html-style
. So do I need to have one of those components already written to test blog-post
, or do I mock a yielded component… and if so, how?