Skip to content

How to assert with promises? #3235

Discussion options

You must be logged in to vote

Hi !
If you want to test asynchronous functions, look at fc.asyncProperty instead of fc.property.
For reference: https://github.com/dubzzz/fast-check/blob/main/packages/fast-check/documentation/Runners.md#properties

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@GabrielBarbosaGV
Comment options

Answer selected by GabrielBarbosaGV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants