Start Discourse in an initializer (#9930)

* DEV: To be pedantic, there is more than EMBER in there now

* DEV: Use less globals. Have `Discourse` start in an initializer

* DEV: Remove another global
This commit is contained in:
Robin Ward
2020-05-29 14:37:02 -04:00
committed by GitHub
parent ecfce93f28
commit 2b2434b82d
10 changed files with 109 additions and 95 deletions

View File

@ -53,8 +53,6 @@ sinon.config = {
useFakeServer: false
};
window.inTestEnv = true;
let MessageBus = require("message-bus-client").default;
// Stop the message bus so we don't get ajax calls