Files
atom/spec
Antonio Scandurra ae10429d08 Ensure TextEditorComponent was resized before asserting on its contents
Previously, we would wait for the next update promise after resizing the 
editor as an indicator of when the resize occurred. Unfortunately, 
resize events are unreliable and may not be emitted right away. This 
could cause the test code to wait for an update promise that was 
unrelated to the resize event (e.g., cursor blinking).

This commit uses a condition-based promise that ensures the rendered 
rows have changed as a result of the resize. This seems to fix the issue 
locally when introducing artificial timeouts in the resize event.
2019-06-11 16:20:56 +02:00
..
2017-11-14 00:13:58 +01:00
2016-09-26 20:52:13 +03:00
2016-09-26 20:52:13 +03:00