diff --git a/spec/text-editor-component-spec.coffee b/spec/text-editor-component-spec.coffee index 84534acf8..3faf2a468 100644 --- a/spec/text-editor-component-spec.coffee +++ b/spec/text-editor-component-spec.coffee @@ -1666,7 +1666,7 @@ describe "TextEditorComponent", -> runs -> expect(highlightNode.classList.contains('flash-class')).toBe true - waitsFor -> !highlightNode.classList.contains('flash-class') + waitsFor -> not highlightNode.classList.contains('flash-class') describe "when ::flash is called again before the first has finished", -> it "removes the class from the decoration highlight before adding it for the second ::flash call", ->