mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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:
parent
dd417d83d9
commit
2bc8cf2fc7
1
packages/playwright-test/types/test.d.ts
vendored
1
packages/playwright-test/types/test.d.ts
vendored
@ -4786,7 +4786,6 @@ export type Expect = {
|
||||
message?: string,
|
||||
timeout?: number,
|
||||
soft?: boolean,
|
||||
poll?: boolean | { timeout?: number, intervals?: number[] },
|
||||
}) => Expect;
|
||||
getState(): {
|
||||
expand?: boolean;
|
||||
|
1
utils/generate_types/overrides-test.d.ts
vendored
1
utils/generate_types/overrides-test.d.ts
vendored
@ -347,7 +347,6 @@ export type Expect = {
|
||||
message?: string,
|
||||
timeout?: number,
|
||||
soft?: boolean,
|
||||
poll?: boolean | { timeout?: number, intervals?: number[] },
|
||||
}) => Expect;
|
||||
getState(): {
|
||||
expand?: boolean;
|
||||
|
Loading…
x
Reference in New Issue
Block a user