fix: no-ssr 1.0 supports placeholder tag

This commit is contained in:
Clark Du 2018-09-13 10:11:29 +01:00
parent 281e2dc600
commit 0318a82177

View File

@ -224,7 +224,7 @@ describe('basic ssr', () => {
test('/no-ssr', async () => {
const { html } = await nuxt.renderRoute('/no-ssr')
expect(html.includes(
'<div class="no-ssr-placeholder">&lt;p&gt;Loading...&lt;/p&gt;</div>'
'<p class="no-ssr-placeholder">Loading...</p>'
)).toBe(true)
})