Hi, is there a way to configure mount options glob...
# vue
m
Hi, is there a way to configure mount options globally instead of on a test-by-test basis with
@cypress/vue
? when using
@vue/test-utils
directly it could be achieved as such, for example:
Copy code
import { config } from '@vue/test-utils'
config.global.plugins.unshift([SomePlugin])
but that doesn't seem possible with
@cypress/vue
I can, of course, use:
Copy code
mount(Foo, { global: { plugins: [SomePlugin] } })
But the plugin is required for every test, so it's a bit convoluted to do it everytime. I worked around it by always injecting the required plugin in my
cy.mount
, which works fine, but won't work when importing the
mount
directly, of course.