fix(runtime-core): fix priority of option merging (#2041)
This commit is contained in:
@@ -457,7 +457,7 @@ describe('api: createApp', () => {
|
||||
app.config.optionMergeStrategies.foo = (a, b) => (a ? `${a},` : ``) + b
|
||||
|
||||
app.mount(nodeOps.createElement('div'))
|
||||
expect(merged!).toBe('local,extends,mixin,global')
|
||||
expect(merged!).toBe('global,extends,mixin,local')
|
||||
})
|
||||
|
||||
test('config.globalProperties', () => {
|
||||
|
||||
Reference in New Issue
Block a user