fix: drop `expect.configure({ poll })` from types (#23661)

`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 GitHub
parent dd417d83d9
commit 2bc8cf2fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;