From bdaf0b894d3bbba42f6cae12e703d074917cd37b Mon Sep 17 00:00:00 2001 From: JakobDev Date: Wed, 20 Nov 2024 12:37:49 +0100 Subject: [PATCH] Rework eslint errors --- tests/e2e/markdown-editor.test.e2e.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/e2e/markdown-editor.test.e2e.ts b/tests/e2e/markdown-editor.test.e2e.ts index 12c3f0b7c3..1f17b3efe3 100644 --- a/tests/e2e/markdown-editor.test.e2e.ts +++ b/tests/e2e/markdown-editor.test.e2e.ts @@ -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');