Subscribe on changes!

test: wait for async testByPolling

avatar
May 4th 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)