fix(runtime-core): fix priority of option merging (#2041)

This commit is contained in:
ᴜɴвʏтᴇ
2020-09-03 09:35:43 -05:00
committed by GitHub
parent 71b6fedcdb
commit 95c07d8c36
2 changed files with 10 additions and 9 deletions

View File

@@ -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', () => {