Skip to content

Commit

Permalink
cherry-pick(#23661): fix: drop expect.configure({ poll }) from types
Browse files Browse the repository at this point in the history
`poll` option is not actually supported as of June 12, 2023.

Fixes #23622
  • Loading branch information
aslushnikov committed Jun 12, 2023
1 parent 615e2e8 commit 49ece36
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/playwright-test/types/test.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4786,7 +4786,6 @@ export type Expect = {
message?: string,
timeout?: number,
soft?: boolean,
poll?: boolean | { timeout?: number, intervals?: number[] },
}) => Expect;
getState(): {
expand?: boolean;
Expand Down
1 change: 0 additions & 1 deletion utils/generate_types/overrides-test.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ export type Expect = {
message?: string,
timeout?: number,
soft?: boolean,
poll?: boolean | { timeout?: number, intervals?: number[] },
}) => Expect;
getState(): {
expand?: boolean;
Expand Down

0 comments on commit 49ece36

Please sign in to comment.