diff --git a/spec/text-editor-component-spec.js b/spec/text-editor-component-spec.js index 3538f2b13..4ef292b51 100644 --- a/spec/text-editor-component-spec.js +++ b/spec/text-editor-component-spec.js @@ -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()