From f7e97d443a34d784d620c858ef7c37bb62b0f245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20K=C3=B6nig?= Date: Thu, 21 Nov 2024 16:07:51 +0100 Subject: [PATCH] eslint --- eslint.config.mjs | 2 +- tests/e2e/tests/Routing.spec.ts | 2 +- tests/e2e/tests/pages/Base.spec.ts | 2 +- tests/e2e/tests/pages/ClusterManagement.spec.ts | 2 +- tests/e2e/tests/pages/HomeStatus.spec.ts | 2 +- tests/e2e/tests/pages/Indices.spec.ts | 2 +- tests/e2e/tests/pages/Nodes.spec.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 41cf23d5..e3d21bff 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -38,7 +38,7 @@ export default [ }], quotes: ['error', 'single'], }, - files: ['src/**/*.{js,vue,ts,json}'], + files: ['src/**/*.{js,vue,ts,json}', 'tests/**/*.ts}'], settings: { 'vue-i18n': { localeDir: { diff --git a/tests/e2e/tests/Routing.spec.ts b/tests/e2e/tests/Routing.spec.ts index 67378778..79946195 100644 --- a/tests/e2e/tests/Routing.spec.ts +++ b/tests/e2e/tests/Routing.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test' import { setupClusterConnection } from '../helpers' import { withElastic } from '../mocks' -test.describe.configure({ mode: 'parallel' }); +test.describe.configure({ mode: 'parallel' }) withElastic(({ mockElastic, elastic }) => { test.describe(`elasticsearch ${elastic.version}`, () => { diff --git a/tests/e2e/tests/pages/Base.spec.ts b/tests/e2e/tests/pages/Base.spec.ts index ac2f69af..75c1e1c4 100644 --- a/tests/e2e/tests/pages/Base.spec.ts +++ b/tests/e2e/tests/pages/Base.spec.ts @@ -1,7 +1,7 @@ import { test, expect } from '@playwright/test' import { openElasticvue } from '../../helpers' -test.describe.configure({ mode: 'parallel' }); +test.describe.configure({ mode: 'parallel' }) test.describe('base', () => { test('has a title', async ({ page }) => { diff --git a/tests/e2e/tests/pages/ClusterManagement.spec.ts b/tests/e2e/tests/pages/ClusterManagement.spec.ts index cf292d05..8cabd67f 100644 --- a/tests/e2e/tests/pages/ClusterManagement.spec.ts +++ b/tests/e2e/tests/pages/ClusterManagement.spec.ts @@ -2,7 +2,7 @@ import { test, expect, Page } from '@playwright/test' import { setupClusterConnection } from '../../helpers' import { withElastic } from '../../mocks' -test.describe.configure({ mode: 'parallel' }); +test.describe.configure({ mode: 'parallel' }) const setupClusterSelectionTest = async (page: Page) => { await setupClusterConnection(page) diff --git a/tests/e2e/tests/pages/HomeStatus.spec.ts b/tests/e2e/tests/pages/HomeStatus.spec.ts index 74695f0a..339fcaf7 100644 --- a/tests/e2e/tests/pages/HomeStatus.spec.ts +++ b/tests/e2e/tests/pages/HomeStatus.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test' import { setupClusterConnection } from '../../helpers' import { withElastic } from '../../mocks' -test.describe.configure({ mode: 'parallel' }); +test.describe.configure({ mode: 'parallel' }) withElastic(({ mockElastic, elastic }) => { test.describe(`elasticsearch ${elastic.version}`, () => { diff --git a/tests/e2e/tests/pages/Indices.spec.ts b/tests/e2e/tests/pages/Indices.spec.ts index 31b36a88..68cf168c 100644 --- a/tests/e2e/tests/pages/Indices.spec.ts +++ b/tests/e2e/tests/pages/Indices.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test' import { setupClusterConnection } from '../../helpers' import { withElastic } from '../../mocks' -test.describe.configure({ mode: 'parallel' }); +test.describe.configure({ mode: 'parallel' }) const setup = async (page: any, mockElastic: any) => { await mockElastic(page) diff --git a/tests/e2e/tests/pages/Nodes.spec.ts b/tests/e2e/tests/pages/Nodes.spec.ts index dbd24551..fdcc9bbc 100644 --- a/tests/e2e/tests/pages/Nodes.spec.ts +++ b/tests/e2e/tests/pages/Nodes.spec.ts @@ -2,7 +2,7 @@ import { test, expect } from '@playwright/test' import { setupClusterConnection } from '../../helpers' import { withElastic } from '../../mocks' -test.describe.configure({ mode: 'parallel' }); +test.describe.configure({ mode: 'parallel' }) withElastic(({ mockElastic, elastic }) => { test.describe(`elasticsearch ${elastic.version}`, () => {