mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-22 19:10:34 +03:00
test: fix escape test as we only escape keys which are used in html
This commit is contained in:
committed by
Alexander Lichter
parent
7615f4120c
commit
6bea7f45f4
@@ -19,7 +19,7 @@ describe('escaping', () => {
|
|||||||
|
|
||||||
expect(getMetaInfo(component, [[/&/g, '&']])).toEqual({
|
expect(getMetaInfo(component, [[/&/g, '&']])).toEqual({
|
||||||
title: 'Hello & Goodbye',
|
title: 'Hello & Goodbye',
|
||||||
titleChunk: 'Hello & Goodbye',
|
titleChunk: 'Hello & Goodbye',
|
||||||
titleTemplate: '%s',
|
titleTemplate: '%s',
|
||||||
htmlAttrs: {},
|
htmlAttrs: {},
|
||||||
headAttrs: {},
|
headAttrs: {},
|
||||||
|
|||||||
Reference in New Issue
Block a user