speedskater / babel-plugin-rewire

A babel plugin adding the ability to rewire module dependencies. This enables to mock modules for testing purposes.
842 stars 90 forks source link

Renaming of Child Component #147

Closed thomasoncode closed 8 years ago

thomasoncode commented 8 years ago

Child components are rendered as Component and not as their component name.

<Foo>
 <Bar />
</Foo>

is rendered as

<Foo>
 <Component />
</Foo>

This makes it difficult to find components by their name in Enzyme.

speedskater commented 8 years ago

@mtthomas thanks for providing this issue. I think it should be fixed in the new version 1.0.0-rc5. Hence, I will close this issue. If this does not solve your problem, please do not hestitate to reopen it.