0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-06-07 13:15:35 +02:00
gitea/tests/e2e/licenses.test.ts

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/');
});