vue-test-utils returns null for document.querySelector

I am writing unit tests for a Vue.js component that displays some radiobuttons and emits an event with the radio button id whenever a button is checked: ApplicationElement.vue: <…