0👍
The options you are passing should be on the root level of the object, and props data is set with the propsData
option:
const wrapper = mount(TeamMember, {
propsData: {
item: {
avatar: 'path/to_image.png',
full_name: 'Robocop'
}
}
})
Source:stackexchange.com