Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Core: Add type checking for assert.async #1723

Merged
merged 2 commits into from
Aug 21, 2023

Conversation

zixinyin
Copy link
Contributor

Added type checking for assert.async, so for an invalid input like string, the page would not hang indefinitely.
Fixes #1721

Copy link
Member

@Krinkle Krinkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch @zixinyin!

Would you mind adding a basic test for it as well?

For the core API (platform-agnostic) our tests are under https://github.com/qunitjs/qunit/tree/main/test/main/

@zixinyin
Copy link
Contributor Author

Thanks for the patch @zixinyin!

Would you mind adding a basic test for it as well?

For the core API (platform-agnostic) our tests are under https://github.com/qunitjs/qunit/tree/main/test/main/

You're welcome! I added the test as a new commit. I found the invalid link for CLA here

@zixinyin
Copy link
Contributor Author

Hello @Krinkle I have submitted the test. Should I leave this PR as it is? Not sure the following steps for merging.

@Krinkle Krinkle merged commit ddc5830 into qunitjs:main Aug 21, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants