mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
15 lines
394 B
TypeScript
15 lines
394 B
TypeScript
|
import { fileURLToPath } from 'url'
|
||
|
import { describe, expect, it } from 'vitest'
|
||
|
import { setup, $fetch } from '@nuxt/test-utils'
|
||
|
|
||
|
describe('fixtures:bridge', async () => {
|
||
|
await setup({
|
||
|
rootDir: fileURLToPath(new URL('./fixtures/bridge', import.meta.url)),
|
||
|
server: true
|
||
|
})
|
||
|
|
||
|
it('Render hello world', async () => {
|
||
|
expect(await $fetch('/')).to.contain('Hello Vue 2!')
|
||
|
})
|
||
|
})
|