2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-09 16:42:24 +03:00

test: add generator/updater test for array attributes

This commit is contained in:
pimlie
2019-03-08 17:54:04 +01:00
committed by Alexander Lichter
parent 9d8ea758ac
commit c9a732c9d7
+3 -3
View File
@@ -196,12 +196,12 @@ const metaInfoData = {
},
bodyAttrs: {
add: {
data: { foo: 'bar' },
expect: ['<body foo="bar" data-vue-meta="foo">']
data: { foo: 'bar', fizz: ['fuzz', 'fozz'] },
expect: ['<body foo="bar" fizz="fuzz fozz" data-vue-meta="fizz,foo">']
},
change: {
data: { foo: 'baz' },
expect: ['<body foo="baz" data-vue-meta="foo">']
expect: ['<body foo="baz" data-vue-meta="fizz,foo">']
},
remove: {
data: {},