Event Timeline
Comment Actions
I failed to find a good solution for this. The suggested way to go appears to be to make sure nothing breaks by having good e2e coverage, which is a little unsatisfying. I could imagine coming up with some complicated test helper specifically for mutations but am hesitant to invest a lot of time into that.
Comment Actions
Looked into the "complicated test helper specifically for mutations" which through a proxy could recursively inspect set and defineProperty calls, would have to be able to re-attach itself to replaced properties, and also be able to tell apart vanilla calls from modification correctly run through Vue.set(). It's not happening.