diff --git a/app/assets/javascripts/discourse/initializers/subscribe-user-notifications.js.es6 b/app/assets/javascripts/discourse/initializers/subscribe-user-notifications.js.es6 index 7ee8088b5e5..aef79209832 100644 --- a/app/assets/javascripts/discourse/initializers/subscribe-user-notifications.js.es6 +++ b/app/assets/javascripts/discourse/initializers/subscribe-user-notifications.js.es6 @@ -56,7 +56,9 @@ export default { }); }); - initDesktopNotifications(bus); + if (!Ember.testing) { + initDesktopNotifications(bus); + } } } };