Files
new-api/tests/e2e/licenses.test.ts
T
2026-05-30 22:47:36 +08:00

10 lines
304 B
TypeScript

import {test, expect} from '@playwright/test';
test('licenses.txt', async ({page}) => {
const resp = await page.goto('/assets/licenses.txt');
expect(resp?.status()).toBe(200);
const content = await resp!.text();
expect(content).toContain('@vue/');
expect(content).toContain('gitea.dev/');
});