Closed
Description
I think we should add a config object.
We could use it to store mount options, and other options at a later date.
The main use I see right now is to set transition and transition-group Components to be stubbed by default.
This means the global default config would look like this:
console.log(vueTestUtils.config) // {
stubs: {
'transition': TransitionStub,
'transition-group': TransitionGroupStub
}
}
The options in config would be overwritten by mount options passed to Wrapper.
Having a config would save adding large mount options in tests.
What are peoples thoughts?