Download lib/utils/rss-parser.test.ts from ASEM12345/rsshub: direct link, hf CLI and curl.
- Browser
- Download file 270 Bytes
-
https://huggingface.co/spaces/ASEM12345/rsshub/resolve/main/lib/utils/rss-parser.test.ts
- Command line
-
hf download hf://spaces/ASEM12345/rsshub/lib/utils/rss-parser.test.ts
-
curl -L -o rss-parser.test.ts https://huggingface.co/spaces/ASEM12345/rsshub/resolve/main/lib/utils/rss-parser.test.ts
270 Bytes
| import { describe, expect, it } from 'vitest'; | |
| import parser from '@/utils/rss-parser'; | |
| describe('rss-parser', () => { | |
| it('rss', async () => { | |
| const result = await parser.parseURL('http://rsshub.test/rss'); | |
| expect(result).toBeTruthy(); | |
| }); | |
| }); | |