mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-08-30 16:55:08 +08:00
12 lines
296 B
TypeScript
12 lines
296 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
|
|
import app from '@/app';
|
|
|
|
describe('index', () => {
|
|
it('serve index', async () => {
|
|
const res = await app.request('/');
|
|
expect(res.status).toBe(200);
|
|
expect(await res.text()).toContain('Welcome to RSSHub!');
|
|
});
|
|
});
|