From 76ca08bd59f0e8bfa1bb20ac813f48e7ab241265 Mon Sep 17 00:00:00 2001 From: James Maa Date: Fri, 31 May 2024 08:06:52 -0700 Subject: Allow trailing commas in ESLint (#1013) * Update comma-dangle rule * Fix dangling commas --- playwright.config.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'playwright.config.js') diff --git a/playwright.config.js b/playwright.config.js index 4cd94b6b..acfceb1d 100644 --- a/playwright.config.js +++ b/playwright.config.js @@ -36,7 +36,7 @@ export default defineConfig({ * Maximum time expect() should wait for the condition to be met. * For example in `await expect(locator).toHaveText();` */ - timeout: 5000 + timeout: 5000, }, /* Run tests in files in parallel */ fullyParallel: true, @@ -56,7 +56,7 @@ export default defineConfig({ // baseURL: 'http://localhost:3000', /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ - trace: 'on-first-retry' + trace: 'on-first-retry', }, /* Configure projects for major browsers */ @@ -64,17 +64,17 @@ export default defineConfig({ { name: 'playwright setup', testMatch: /global\.setup\.js/, - teardown: 'playwright teardown' + teardown: 'playwright teardown', }, { name: 'playwright teardown', - testMatch: /global\.teardown\.js/ + testMatch: /global\.teardown\.js/, }, { name: 'chromium', use: {...devices['Desktop Chrome']}, - dependencies: ['playwright setup'] - } + dependencies: ['playwright setup'], + }, // { // name: 'firefox', @@ -105,7 +105,7 @@ export default defineConfig({ // name: 'Google Chrome', // use: { channel: 'chrome' }, // }, - ] + ], /* Folder for test artifacts such as screenshots, videos, traces, etc. */ // outputDir: 'test-results/', -- cgit v1.2.3