2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-19 21:10:34 +03:00

feat: merge mixins options

Closes #261
This commit is contained in:
adrienbaron
2018-09-06 11:47:07 +02:00
parent 33a7aa46d5
commit ad4d61c38f
5 changed files with 187 additions and 20 deletions
+5
View File
@@ -30,4 +30,9 @@ describe('plugin', () => {
const vm = new Vue(Component).$mount()
expect(vm._hasMetaInfo).to.equal(true)
})
it('setup optionMergeStrategies for the keyName', () => {
const strats = Vue.config.optionMergeStrategies
expect(strats[VUE_META_KEY_NAME]).to.equal(strats.created)
})
})