Closed wushan closed 7 years ago
How can I pass different props to the component during testing ? like :
const vm = createVM(this, `<my-parser></my-parser>`, { components: { myParser }, props: { prop1: '1', prop2: '2' } })
this doesn't work.
You should be able to pass them with propsData
propsData
How can I pass different props to the component during testing ? like :
this doesn't work.