Closed mhio closed 3 years ago
Still a WIP.
mountTemplate
createLovalVue()
.find('foo')[0]
.find()
.find('foo')
.findAll('foo')
.hasAttribute()
.hasClass()
.classes()
await wrapper.vm.$nextTick()
data
MdPortal needs some changes, @vue/test-utils doesn't seem to be able to mount MdPortal without a template.
1679
Still a WIP.
mountTemplate
usescreateLovalVue()
to avoid test side effects, I've been bitten by a couple of obscure issues else where so I just avoid them..find('foo')[0]
to.find()
.find('foo')
to.findAll('foo')
.hasAttribute()
/.getAttribute() to .attributes().hasClass()
to.classes()
await wrapper.vm.$nextTick()
for async updates.data
objects with functions.MdPortal needs some changes, @vue/test-utils doesn't seem to be able to mount MdPortal without a template.