Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
test: use path to runtime-compiler fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 3, 2023
1 parent fbf267d commit a2c5d22
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/runtime-compiler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { setup, $fetch } from '@nuxt/test-utils'
import { expectNoClientErrors, renderPage } from './utils'

await setup({
rootDir: fileURLToPath(new URL('./fixtures/basic', import.meta.url)),
rootDir: fileURLToPath(new URL('./fixtures/runtime-compiler', import.meta.url)),
server: true,
browser: true,
setupTimeout: (isWindows ? 240 : 120) * 1000
Expand All @@ -20,8 +20,6 @@ describe('test basic config', () => {
const html = await $fetch('/')
const { page } = await renderPage('/')

console.log({ html })

expect(html).toContain('<div id="hello-world">hello, Helloworld.vue here ! </div>')
expect(await page.locator('body').innerHTML()).toContain('<div id="hello-world">hello, Helloworld.vue here ! </div>')
})
Expand Down

0 comments on commit a2c5d22

Please sign in to comment.