[Vuejs]-How to catch the element of external library using jest in vuejs?

1đź‘Ť

I’ve succeed putting ref inside of element – and then in jest you can do something like this – wrapper.find({ ref: “item_1”}) and this will work!

👤DragoRoff

Leave a comment