Add global configuration settings
See original GitHub issueDescription
We should allow users to register default global components, directives and plugins, instead of passing to each test all the time.
Detailed
In VTU beta we could add a few global configs. Stubs was the main one with a few more later added.
Components, filters and directives were easy to add globally to all components, you just had to do this in your setup file:
Vue.use(Plugin)
Vue.component(GlobalComponent)
// etc
With Vue 3, you now have a Vue App instance, which means you no longer can add global configuration like that. This would lead to allot of repetition in tests, and large codebases could suffer greatly.
We could provide the same api as we have now in MountOptions.global
, just at a global level.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
8.1 Customizing Git - Git Configuration
To change that default to something else, you can use the core.editor setting: $ git config --global core.editor emacs. Now, no matter what...
Read more >Global Configurations | MuleSoft Documentation
Name Type Required Default
defaultResponseTimeout string no 10000
defaultTransactionTimeout string no 30000
defaultErrorHandler‑ref string no none
Read more >Global Configuration Settings
This policy setting allows you to specify Clock discipline and General values for the Windows Time service (W32time) for domain controllers including RODCs....
Read more >A step-by-step guide to setting up global Git config properties
By using the git config command, we can change the configuration of our Git installation. In general, it is used to set up...
Read more >Using the Global Configuration Object
Set the global configuration using AWS.Config . Pass extra configuration information to a service object. Setting global configuration with AWS.Config is often ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, was thinking about it too. This way people can extend as needed, make plugins etc.
I can take a stab at it