We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab5d1b4 commit 8c595cfCopy full SHA for 8c595cf
test/basic.test.ts
@@ -2,14 +2,14 @@ import { fileURLToPath } from 'node:url'
2
import { describe, it, expect } from 'vitest'
3
import { setup, $fetch } from '@nuxt/test-utils/e2e'
4
5
-describe('ssr', async () => {
+describe('nuxt', async () => {
6
await setup({
7
rootDir: fileURLToPath(new URL('./fixtures/basic', import.meta.url)),
8
})
9
10
- it('renders the index page', async () => {
+ it('renders the nuxt entrypoint', async () => {
11
// Get response to a server-rendered page with `$fetch`.
12
const html = await $fetch('/')
13
- expect(html).toContain('<div>basic</div>')
+ expect(html).toContain('<div id="__nuxt">')
14
15
0 commit comments