-
Notifications
You must be signed in to change notification settings - Fork 665
Closed
Description
Hi.
When mounting a component including a sub-component I get this error:
TypeError: Cannot convert undefined or null to object
at node_modules/vue-test-utils/dist/vue-test-utils.js:117:33
at Array.forEach (<anonymous>)
at stubAllComponents (node_modules/vue-test-utils/dist/vue-test-utils.js:115:37)
at shallow (node_modules/vue-test-utils/dist/vue-test-utils.js:991:5)
When stubbing, it happens the component is undefined.
I'm using vue-test-utils 0.1.0
The lib might be loaded by ts-jest.
I'm still investigating but maybe you've got an idea.
Metadata
Metadata
Assignees
Labels
No labels