mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Merge pull request #22354 from atom/flaky-blinking-cursor-spec
Speed up blinking cursor
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user