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
Source:stackexchange.com
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!