chore: returns too

This commit is contained in:
Daniel Roe 2024-12-09 12:52:49 +00:00
parent db27a07c62
commit 2f778d2a36
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B

View File

@ -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>`,
) )
}) })