         # Wait til the longass provider comes back
         advanceClock(1000)
 
-      waits 0
+      waits(0)
 
       runs ->
         expect(editorView.querySelector('.autocomplete-plus')).not.toExist()

        # Waiting will kick off the suggestion request
        advanceClock(autocompleteManager.suggestionDelay * 2)

      waits 0

      runs ->
        # Waiting will kick off the suggestion request

        suggestionListView = atom.views.getView(autocompleteManager.suggestionList)
        expect(suggestionListView.querySelector('li .completion-label')).toHaveText('asyncProvided')

  describe 'when a provider takes a long time to provide suggestions', ->
    beforeEach ->
      testAsyncProvider =
        selector: '.source.js'
