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:
parent
615e2e8fa8
commit
49ece365ab
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,
|
message?: string,
|
||||||
timeout?: number,
|
timeout?: number,
|
||||||
soft?: boolean,
|
soft?: boolean,
|
||||||
poll?: boolean | { timeout?: number, intervals?: number[] },
|
|
||||||
}) => Expect;
|
}) => Expect;
|
||||||
getState(): {
|
getState(): {
|
||||||
expand?: boolean;
|
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,
|
message?: string,
|
||||||
timeout?: number,
|
timeout?: number,
|
||||||
soft?: boolean,
|
soft?: boolean,
|
||||||
poll?: boolean | { timeout?: number, intervals?: number[] },
|
|
||||||
}) => Expect;
|
}) => Expect;
|
||||||
getState(): {
|
getState(): {
|
||||||
expand?: boolean;
|
expand?: boolean;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue