Use real clock in text-editor-component-spec

This will make it much easier to test asynchronous update logic.
This commit is contained in:
Nathan Sobo
2015-10-24 00:04:58 -06:00
parent 1aefb22789
commit 4b5e4d02eb
2 changed files with 2180 additions and 1582 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -220,7 +220,7 @@ class TextEditorComponent
@updatesPaused = false
if @updateRequestedWhilePaused and @canUpdate()
@updateRequestedWhilePaused = false
@updateSync()
@requestUpdate()
getTopmostDOMNode: ->
@hostElement