         # Waiting will kick off the suggestion request
         advanceClock(autocompleteManager.suggestionDelay * 2)
 
-      waits 0
+      waits(0)
 
       runs ->
         # Waiting will kick off the suggestion request

  afterEach ->
    registration?.dispose()

  describe "when an async provider is registered", ->
    beforeEach ->
      testAsyncProvider =
        requestHandler: (options) ->

        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'
