Open sekhavati opened 3 years ago
@lgandecki would you be able to comment on the above please? I'm keen to understand if I'm doing something daft or whether trying to fix this on my end is futile
Sorry for that. I'm guessing the timeout is somehow exceeded, does it change anything if you change your timeout default like so:
waitForExpect.defaults.timeout = 1000;
Having the same issue and no, the above remediation does not resolve it.
Sorry for the troubles :-( Do you guys have any simple repo that you could push to github that I could clone and reproduce? I'm loaded with work but if someone could help with the first step I might be able to figure out the problem much quicker.
Early on in the README it mentions:
For example:
But when I have an async/await scenario I no longer get this nice print out highlighting the line where the expectation didn't hold true, instead I get a Jest timeout error. Tweaking your own async example from the docs I get this:
Result:
Am I doing something wrong, is this expected behaviour or is it a bug? (I was testing with version
3.0.2
)