mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 00:23:53 +00:00
docs: update example test snapshots to remove escapes
This commit is contained in:
parent
3c30f16105
commit
5de779a7de
@ -169,7 +169,7 @@ it('can also mount an app', async () => {
|
||||
"<div>This is an auto-imported component</div>
|
||||
<div> I am a global component </div>
|
||||
<div>/</div>
|
||||
<a href=\\"/test\\"> Test link </a>"
|
||||
<a href="/test"> Test link </a>"
|
||||
`)
|
||||
})
|
||||
```
|
||||
@ -201,10 +201,10 @@ import { renderSuspended } from '@nuxt/test-utils/runtime'
|
||||
it('can also render an app', async () => {
|
||||
const html = await renderSuspended(App, { route: '/test' })
|
||||
expect(html()).toMatchInlineSnapshot(`
|
||||
"<div id=\\"test-wrapper\\">
|
||||
"<div id="test-wrapper">
|
||||
<div>This is an auto-imported component</div>
|
||||
<div> I am a global component </div>
|
||||
<div>Index page</div><a href=\\"/test\\"> Test link </a>
|
||||
<div>Index page</div><a href="/test"> Test link </a>
|
||||
</div>"
|
||||
`)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user