Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1125 from atom/fix-flaky-test
Browse files Browse the repository at this point in the history
Use a less timing-sensitive condition to hopefully fix flaky test
  • Loading branch information
Nathan Sobo committed Apr 10, 2019
2 parents 0a3afcf + 9cad926 commit 624a491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/updates-panel-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ describe 'UpdatesPanel', ->

resolveC()

waitsFor (done) ->
atom.notifications.onDidAddNotification(done)
waitsFor ->
atom.notifications.getNotifications().length is 1

runs ->
notifications = atom.notifications.getNotifications()
Expand Down

0 comments on commit 624a491

Please sign in to comment.