diff --git a/app/assets/javascripts/discourse/config/environment.js b/app/assets/javascripts/discourse/config/environment.js index 903436156e0..f0b8d018ae5 100644 --- a/app/assets/javascripts/discourse/config/environment.js +++ b/app/assets/javascripts/discourse/config/environment.js @@ -17,6 +17,7 @@ module.exports = function (environment) { Date: false, String: false, }, + LOG_STACKTRACE_ON_DEPRECATION: false, }, exportApplicationGlobal: true, diff --git a/app/assets/javascripts/discourse/tests/test-boot-ember-cli.js b/app/assets/javascripts/discourse/tests/test-boot-ember-cli.js index b8b3d0776fe..435e51ba93c 100644 --- a/app/assets/javascripts/discourse/tests/test-boot-ember-cli.js +++ b/app/assets/javascripts/discourse/tests/test-boot-ember-cli.js @@ -25,8 +25,6 @@ document.addEventListener("discourse-init", () => { const testingCore = !testingTheme && (!target || target === "core"); const disableAutoStart = params.get("qunit_disable_auto_start") === "1"; - window.EmberENV.LOG_STACKTRACE_ON_DEPRECATION = false; - document.body.insertAdjacentHTML( "afterbegin", `