mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Convert to PrimeVue monorepo
This commit is contained in:
parent
970ba75b06
commit
61929eae75
4144 changed files with 59008 additions and 36177 deletions
16
packages/nuxt-module/test/basic.test.ts
Normal file
16
packages/nuxt-module/test/basic.test.ts
Normal 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>');
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue