mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-22 11:22:43 +00:00
chore: returns too
This commit is contained in:
parent
db27a07c62
commit
2f778d2a36
@ -27,7 +27,7 @@ await setup({
|
|||||||
describe('spaLoadingTemplateLocation flag is set to `within`', () => {
|
describe('spaLoadingTemplateLocation flag is set to `within`', () => {
|
||||||
it('shoul be render loader inside appTag', async () => {
|
it('shoul be render loader inside appTag', async () => {
|
||||||
const html = await $fetch<string>('/spa')
|
const html = await $fetch<string>('/spa')
|
||||||
expect(html.replace(/\n+/g, '')).toContain(
|
expect(html.replace(/[\n\r]+/g, '')).toContain(
|
||||||
`<div id="__nuxt"><div data-testid="loader">loading...</div></div>`,
|
`<div id="__nuxt"><div data-testid="loader">loading...</div></div>`,
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user