2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-20 22:40:34 +03:00

fix tests

This commit is contained in:
Declan de Wet
2016-11-10 17:47:54 +02:00
parent d218afa2e6
commit 814a0dd2c3
12 changed files with 25 additions and 12 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
import deepmerge from 'deepmerge'
import getComponentOption from './getComponentOption'
export default function _getMetaInfo ({ keyName, tagIDKeyName }) {
export default function _getMetaInfo (options = {}) {
const { keyName, tagIDKeyName } = options
/**
* Returns the correct meta info for the given component
* (child components will overwrite parent meta info)