Merge pull request #22354 from atom/flaky-blinking-cursor-spec

Speed up blinking cursor
This commit is contained in:
Sadick
2021-05-07 14:01:07 +03:00
committed by GitHub

View File

@@ -605,8 +605,8 @@ describe('TextEditorComponent', () => {
it('blinks cursors when the editor is focused and the cursors are not moving', async () => {
assertDocumentFocused();
const { component, element, editor } = buildComponent();
component.props.cursorBlinkPeriod = 40;
component.props.cursorBlinkResumeDelay = 40;
component.props.cursorBlinkPeriod = 30;
component.props.cursorBlinkResumeDelay = 30;
editor.addCursorAtScreenPosition([1, 0]);
element.focus();