mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Avoid test failure due to timing
Signed-off-by: Antonio Scandurra <as-cii@github.com> Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
This commit is contained in:
committed by
Max Brunsfeld
parent
b256a1450a
commit
43caead392
@@ -1262,6 +1262,7 @@ describe('TextEditorComponent', function () {
|
||||
|
||||
it('positions cursors correctly after character widths are changed via a stylesheet change', async function () {
|
||||
component.setFontFamily('sans-serif')
|
||||
await nextViewUpdatePromise()
|
||||
editor.setCursorScreenPosition([0, 16])
|
||||
await nextViewUpdatePromise()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user