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

test: fix ssr hydration tests

This commit is contained in:
pimlie
2019-06-09 14:05:54 +02:00
parent b2a7a8449b
commit fc5799859b
3 changed files with 43 additions and 11 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ describe('basic browser with ssr page', () => {
test('validate ssr', () => {
const htmlTag = html.match(/<html([^>]+)>/)[0]
expect(htmlTag).toContain('data-vue-meta-server-rendered')
expect(htmlTag).toContain('data-vue-meta-server-rendered ')
expect(htmlTag).toContain(' lang="en" ')
expect(htmlTag).toContain(' amp ')
expect(htmlTag).not.toContain('allowfullscreen')