mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 01:44:24 +01:00
Rework eslint errors
This commit is contained in:
parent
368c6006b6
commit
bdaf0b894d
|
@ -4,10 +4,8 @@
|
||||||
// templates/shared/combomarkdowneditor.tmpl
|
// templates/shared/combomarkdowneditor.tmpl
|
||||||
// @watch end
|
// @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';
|
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) => {
|
test.beforeAll(async ({browser}, workerInfo) => {
|
||||||
await login_user(browser, workerInfo, 'user2');
|
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) => {
|
test('markdown editor init', async ({browser}, workerInfo) => {
|
||||||
const context = await load_logged_in_context(browser, workerInfo, 'user2');
|
const context = await load_logged_in_context(browser, workerInfo, 'user2');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue