cherry-pick(#23661): fix: drop expect.configure({ poll }) from types

`poll` option is not actually supported as of June 12, 2023.

Fixes https://github.com/microsoft/playwright/issues/23622
This commit is contained in:
Andrey Lushnikov 2023-06-12 11:07:39 -07:00 committed by Andrey Lushnikov
parent 615e2e8fa8
commit 49ece365ab
2 changed files with 0 additions and 2 deletions

View file

@ -4786,7 +4786,6 @@ export type Expect = {
message?: string,
timeout?: number,
soft?: boolean,
poll?: boolean | { timeout?: number, intervals?: number[] },
}) => Expect;
getState(): {
expand?: boolean;

View file

@ -347,7 +347,6 @@ export type Expect = {
message?: string,
timeout?: number,
soft?: boolean,
poll?: boolean | { timeout?: number, intervals?: number[] },
}) => Expect;
getState(): {
expand?: boolean;