Skip to content

Commit 49ece36

Browse files
committed
cherry-pick(#23661): fix: drop expect.configure({ poll }) from types
`poll` option is not actually supported as of June 12, 2023. Fixes #23622
1 parent 615e2e8 commit 49ece36

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4786,7 +4786,6 @@ export type Expect = {
47864786
message?: string,
47874787
timeout?: number,
47884788
soft?: boolean,
4789-
poll?: boolean | { timeout?: number, intervals?: number[] },
47904789
}) => Expect;
47914790
getState(): {
47924791
expand?: boolean;

utils/generate_types/overrides-test.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ export type Expect = {
347347
message?: string,
348348
timeout?: number,
349349
soft?: boolean,
350-
poll?: boolean | { timeout?: number, intervals?: number[] },
351350
}) => Expect;
352351
getState(): {
353352
expand?: boolean;

0 commit comments

Comments
 (0)