We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b740217 commit 38180a5Copy full SHA for 38180a5
tests/config.spec.ts
@@ -109,9 +109,6 @@ describe('config', () => {
109
})
110
111
describe('provide', () => {
112
- config.global.provide = {
113
- theme: 'dark'
114
- }
115
const Comp = {
116
setup() {
117
const theme = inject('theme')
@@ -120,11 +117,17 @@ describe('config', () => {
120
}
121
118
122
119
it('sets a provide everywhere', () => {
+ config.global.provide = {
+ theme: 'dark'
+ }
123
const wrapper = mount(Comp)
124
expect(wrapper.html()).toContain('dark')
125
126
127
it('overrides with a local provide', () => {
128
129
130
131
const wrapper = mount(Comp, {
132
global: {
133
provide: {
0 commit comments