@accelerate wrote:
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 -- eithermarkdown-style
orhtml-style
. So do I need to have one of those components already written to testblog-post
, or do I mock a yielded component... and if so, how?
Posts: 2
Participants: 2