mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-29 00:00:33 -04:00
FIX: Desktop Notifications break Qunit tests
We should figure out why they can't run without the conditional in a browser.
This commit is contained in:
parent
e361916138
commit
3252bf1252
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,9 @@ export default {
|
|||
});
|
||||
});
|
||||
|
||||
initDesktopNotifications(bus);
|
||||
if (!Ember.testing) {
|
||||
initDesktopNotifications(bus);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue