Skip to content
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

test: wait for async testByPolling #47

Merged
merged 1 commit into from
May 4, 2020
Merged

test: wait for async testByPolling #47

merged 1 commit into from
May 4, 2020

Conversation

mathieumure
Copy link
Contributor

@mathieumure mathieumure commented May 4, 2020

The utility test function testByPolling is asynchronous but it wasn't waited, making some tests false positive.
When fixing it, I figure out that there were also name conflict with expect (jest reserved assertion and function argument)

@yyx990803 yyx990803 merged commit e67e0e6 into vitejs:master May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants