atom / deprecation-cop

Shows a list of deprecated calls
MIT License
12 stars 19 forks source link

Wait for open to finish before making assertion #81

Closed matthewwithanm closed 7 years ago

matthewwithanm commented 7 years ago

Previously, this was just relying on a 0ms wait. After this change we actually wait until the open call completes.

This fixes the remaining test failures for atom/atom#13977

maxbrunsfeld commented 7 years ago

🚂 Thanks so much for taking care of this @matthewwithanm.

matthewwithanm commented 7 years ago

oops yeah onDidOpen is much nicer 👍