mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
fix: no-ssr 1.0 supports placeholder tag
This commit is contained in:
parent
281e2dc600
commit
0318a82177
@ -224,7 +224,7 @@ describe('basic ssr', () => {
|
|||||||
test('/no-ssr', async () => {
|
test('/no-ssr', async () => {
|
||||||
const { html } = await nuxt.renderRoute('/no-ssr')
|
const { html } = await nuxt.renderRoute('/no-ssr')
|
||||||
expect(html.includes(
|
expect(html.includes(
|
||||||
'<div class="no-ssr-placeholder"><p>Loading...</p></div>'
|
'<p class="no-ssr-placeholder">Loading...</p>'
|
||||||
)).toBe(true)
|
)).toBe(true)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user