fix(runtime-core): ensure consistent $options merge behavior with 2.x (#1986)
close #1978 , close #1979
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('global,extends,mixin,local')
|
||||
expect(merged!).toBe('local,extends,mixin,global')
|
||||
})
|
||||
|
||||
test('config.globalProperties', () => {
|
||||
|
||||
Reference in New Issue
Block a user