import { describe, expect, it } from 'vitest'; import request from 'supertest'; import { createProxyApp } from '../src/proxy.js'; describe('pages', () => { it('renders the Markdown home page at /', async () => { const result = await request(createProxyApp({ keys: ['key'] })).get('/').expect(200); expect(result.headers['content-type']).toMatch(/text\/html/); expect(result.text).toContain('