Download tools/ui/tests/client/page.svelte.test.ts from Brunobkr/llama.cpp_AlgMor24_github: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/tools/ui/tests/client/page.svelte.test.ts
- Command line
-
hf download hf://datasets/Brunobkr/llama.cpp_AlgMor24_github/tools/ui/tests/client/page.svelte.test.ts
-
curl -L -o page.svelte.test.ts https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/tools/ui/tests/client/page.svelte.test.ts
432 Bytes
| import TestWrapper from './components/TestWrapper.svelte'; | |
| import { describe, expect, it } from 'vitest'; | |
| import { render } from 'vitest-browser-svelte'; | |
| describe('/+page.svelte', () => { | |
| it('should render page without throwing', async () => { | |
| // Basic smoke test - page should render without throwing errors. | |
| // API calls are mocked in vitest-setup-client.ts. | |
| await render(TestWrapper); | |
| expect(true).toBe(true); | |
| }); | |
| }); | |