Convert to PrimeVue monorepo

This commit is contained in:
Mert Sincan 2024-06-11 13:21:12 +01:00
parent 970ba75b06
commit 61929eae75
4144 changed files with 59008 additions and 36177 deletions

View file

@ -0,0 +1,16 @@
import { $fetch, setup } from '@nuxt/test-utils';
import { fileURLToPath } from 'node:url';
import { describe, expect, it } from 'vitest';
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>');
});
});