Closed
Description
Subject of the issue
My unit tests started breaking from 1.1.4 and later
Steps to reproduce
const wrapper = mount(
{
props: {
name: ["start", "end"]
},
template: `<Wrapper><Inner :name="name" /></Wrapper>`
},
{
stubs: {
Wrapper,
Inner
}
}
);
// name is array
// from 1.1.4 throw error: TypeError: str.replace is not a function
console.log(wrapper.findComponent(Wrapper));
Expected behaviour
When i downgrade to 1.1.3, it is ok, but findComponent({name: 'xxx'}) has error
Metadata
Metadata
Assignees
Labels
No labels