Download lib/entrypoints.test.ts from ASEM12345/rsshub: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/ASEM12345/rsshub/resolve/main/lib/entrypoints.test.ts
- Command line
-
hf download hf://spaces/ASEM12345/rsshub/lib/entrypoints.test.ts
-
curl -L -o entrypoints.test.ts https://huggingface.co/spaces/ASEM12345/rsshub/resolve/main/lib/entrypoints.test.ts
419 Bytes
| import { describe, expect, it } from 'vitest'; | |
| describe('entrypoints', () => { | |
| it('exports app entrypoint', async () => { | |
| const app = (await import('@/app')).default; | |
| expect(typeof app.request).toBe('function'); | |
| }); | |
| it('exports server entrypoint', async () => { | |
| const server = (await import('@/server')).default; | |
| expect(typeof server.request).toBe('function'); | |
| }); | |
| }); | |