diff --git a/docs/src/test-api/class-testconfig.md b/docs/src/test-api/class-testconfig.md index 5785cf33ce..bb343c984e 100644 --- a/docs/src/test-api/class-testconfig.md +++ b/docs/src/test-api/class-testconfig.md @@ -188,7 +188,7 @@ Or... export default defineConfig({ filter: { filterTestGroups: testgroups => { - return testgroups.filter((testgroups, index) => index % 2 === 0) + return testgroups.filter((testgroups, index) => index % 2 === 0); }, }, }); diff --git a/packages/playwright/types/test.d.ts b/packages/playwright/types/test.d.ts index fb267b148b..9d052559b9 100644 --- a/packages/playwright/types/test.d.ts +++ b/packages/playwright/types/test.d.ts @@ -1067,7 +1067,7 @@ interface TestConfig { * export default defineConfig({ * filter: { * filterTestGroups: testgroups => { - * return testgroups.filter((testgroups, index) => index % 2 === 0) + * return testgroups.filter((testgroups, index) => index % 2 === 0); * }, * }, * });