pub fn install_expect<'js>(ctx: &Ctx<'js>) -> Result<()>Expand description
Install the expect global. Exposes:
expect(value | locator | page | apiResponse | fn) -> Expectexpect.poll(fn, opts?) -> ExpectPollexpect.soft(target) -> Expect(with.is_softset)- Asymmetric matchers:
any,anything,arrayContaining,objectContaining,stringContaining,stringMatching,closeTo, plus theexpect.not.*shorthand.