Skip to content

Commit a2de4c5

Browse files
committed
chore: update tests
1 parent 9b16c40 commit a2de4c5

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

test/basic.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ describe('ssr', async () => {
1010
it('renders the index page', async () => {
1111
// Get response to a server-rendered page with `$fetch`.
1212
const html = await $fetch('/')
13-
expect(html).toContain('<div>basic</div>')
13+
expect(html).toContain('<h1>Hello World</h1>')
1414
})
1515
})

test/fixtures/basic/app.vue

Lines changed: 0 additions & 6 deletions
This file was deleted.

test/fixtures/basic/pages/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Hello World

0 commit comments

Comments
 (0)