Either start or continue a chain. If continuing, it preserves the current chained value.
(nextCall: () => Promise<void>)
| 660 | |
| 661 | /** Either start or continue a chain. If continuing, it preserves the current chained value. */ |
| 662 | private startOrPreserveChain(nextCall: () => Promise<void>) { |
| 663 | return this._chain(false, async (value) => { |
| 664 | await nextCall() |
| 665 | return value |
| 666 | }) |
| 667 | } |
| 668 | |
| 669 | // necessary for the type of the function below |
| 670 | readonly [Symbol.toStringTag]: string = 'Playwright' |
no test coverage detected