-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Describe the allowUnawaitedPromise assertion option #2355
[docs] Describe the allowUnawaitedPromise assertion option #2355
Conversation
and [client functions](../obtaining-data-from-the-client/README.md) can be passed as the assertion's actual value. | ||
They trigger the [Smart Assertion Query Mechanism](#smart-assertion-query-mechanism). | ||
If you pass a regular unawaited promise, this will tell TestCafe to compare the promise itself with the expected value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK, It should throws a warning/error as well. /cc @AndreyBelym
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it throws
@dirk-pieterse , please check the changes (or the whole doc if you wish) |
…s#2355) * Describe the allowUnawaitedPromise assertion option * Fix broken links * Address remarks * Update README.md * Update README.md
\cc @DevExpress/testcafe-docs @AndreyBelym