mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-23 18:40:33 +03:00
chore: fix lint
This commit is contained in:
+1
-1
@@ -45,6 +45,6 @@ export function createDOM (html = '<!DOCTYPE html>', options = {}) {
|
||||
// this is ok because this code normally only runs on
|
||||
// the client and not during ssr
|
||||
// TODO: findout why jest.resetModules doesnt work for this
|
||||
export function clearClientAttributeMap() {
|
||||
export function clearClientAttributeMap () {
|
||||
Object.keys(attributeMap).forEach(key => delete attributeMap[key])
|
||||
}
|
||||
|
||||
@@ -283,7 +283,7 @@ const metaInfoData = {
|
||||
expect(attributeMap).toEqual({ bodyAttrs: {
|
||||
foo: { ssr: 'bar' },
|
||||
fizz: { ssr: ['fuzz', 'fozz'] }
|
||||
}})
|
||||
} })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user