Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-21 17:34:24 +01:00

Rework eslint errors

This commit is contained in:
JakobDev 2024-11-20 12:37:49 +01:00
parent 368c6006b6
commit bdaf0b894d
No known key found for this signature in database
GPG key ID: 39DEF62C3ED6DC4C

View file

@ -4,10 +4,8 @@
// templates/shared/combomarkdowneditor.tmpl
// @watch end
import {expect} from '@playwright/test';
import {expect, type Page, type Locator} from '@playwright/test';
import {test, load_logged_in_context, login_user} from './utils_e2e.ts';
// eslint-disable-next-line no-duplicate-imports
import type {Page, Locator} from '@playwright/test';
test.beforeAll(async ({browser}, workerInfo) => {
await login_user(browser, workerInfo, 'user2');
@ -229,7 +227,7 @@ async function testMarkdownEditorPage(page: Page, url: string) {
}
}
// eslint-disable-next-line playwright/expect-expect
/* eslint playwright/expect-expect: ["error", { "assertFunctionNames": ["testMarkdownEditorPage"] }] */
test('markdown editor init', async ({browser}, workerInfo) => {
const context = await load_logged_in_context(browser, workerInfo, 'user2');