Skip to content

Commit cfbff5c

Browse files
SaranshBSfrancisf
authored andcommitted
lint fix for reuseWorkers
1 parent 507111c commit cfbff5c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/playwright-test/types/test.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ interface TestConfig {
589589
*
590590
*/
591591
workers?: number;
592+
reuseWorkers?: boolean;
592593

593594
/**
594595
* Configuration for the `expect` assertion library. Learn more about [various timeouts](https://playwright.dev/docs/test-timeouts).

tests/playwright-test/worker-index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ test('should not reuse workers when reuseWorkers used as false', async ({ runInl
233233
test('succeeds 1', async ({}, testInfo) => {
234234
expect(testInfo.workerIndex).toBe(1);
235235
});`
236-
}, { workers: 1}, {}, { additionalArgs: ["--no-reuse-workers"] });
236+
}, { workers: 1 }, {}, { additionalArgs: ['--no-reuse-workers'] });
237237
expect(result.passed).toBe(2);
238238
expect(result.failed).toBe(0);
239239
expect(result.exitCode).toBe(0);

0 commit comments

Comments
 (0)