Skip to content

Commit

Permalink
fix: drop expect.configure({ poll }) from types (#23661)
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 dd417d8 commit 2bc8cf2
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
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
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 2bc8cf2

Please sign in to comment.