diff options
author | James Maa <jmaa@berkeley.edu> | 2024-05-31 08:06:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 15:06:52 +0000 |
commit | 76ca08bd59f0e8bfa1bb20ac813f48e7ab241265 (patch) | |
tree | bdba43d9ba704885383c7f308c6fe3f574c647c5 /playwright.config.js | |
parent | b3f54747eb2694bdc90bce72e5532e99d374ef08 (diff) |
Allow trailing commas in ESLint (#1013)
* Update comma-dangle rule
* Fix dangling commas
Diffstat (limited to 'playwright.config.js')
-rw-r--r-- | playwright.config.js | 14 |
1 files changed, 7 insertions, 7 deletions
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/', |