Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/thoda-dev/nuxt-ollama. Simple integration of the official Ollama JavaScript Library for your Nuxt application.
Something went wrong. Try again.
463 B · 15 lines
TypeScript
at master
12345678910111213141516import { fileURLToPath } from 'node:url'import { describe, it, expect } from 'vitest'import { setup, $fetch } from '@nuxt/test-utils/e2e'
describe('ssr', async () => { await setup({ rootDir: fileURLToPath(new URL('./fixtures/basic', import.meta.url)), })
it('renders the index page', async () => { // Get response to a server-rendered page with `$fetch`. const html = await $fetch('/') expect(html).toContain('<div>basic</div>') })})