Closed
Description
Version
1.0.0-beta.20
Reproduction link
https://codesandbox.io/s/7krlyqn310
Steps to reproduce
- Have a look at the
TestComponent.spec.js
- See how the stub for the child component works correctly and the test passes
- See how the stub for the grand child component does not work and the test fails
What is expected?
The test for the grand child should pass as it was stubbed.
What is actually happening?
The test fails because the stub does not apply.
This only seems to be an issue with components that are registered globally. The error did not occur when the sub-componentes were registered locally.
We experienced this bug when we upgraded from beta.16 to beta.20. The transition component which is stubbed per default suddenly stopped working in nested components.