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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user