In one of my tests I want to check if the store get updated correctly. To do so I need to access the store itself within Nightwatch. How do I do that ?
Since my store is declared in main.js like so I'm guessing it should be available in the global scope of the browser object but I can't find it ?!
How am I supposed to acheive this ?
global.store = store
global.app = new Vue({
store,
vuetify,
render: h => h(App)
}).$mount('#app')
Aucun commentaire:
Enregistrer un commentaire