Is there way register global custom directive for cypress component testing in vue. Just register with
app.directive('some',(el,binding)=>{{...})
in main.js file can't solve problem. Because in the component testing component failed resolve that directive.
Local register like that:
mount(SomeComp,{
directive:{
'some': {...}
})
isn't good option. Because i use this directive in every component and need local register in every component.
How i can register global directive for cypress component testing ?
Thanxx