Testing a form with vue utils on Vue.js 3 – TypeError: Cannot read properties of null (reading ‘value’)
Essentially, I’m trying to test an emitted event’s result on a form. However, when I launch my test, this error is returned : TypeError: Cannot read properties of null (reading ‘value’). It occurs when my code tries to access any html part of the form. (Ex. if(NAME_INPUT.value == ”)