A platform for community discussion. Free, open, simple.
DEV: Stringify settledState debug info (#24526)
Jarek Radoszec03db719938
diff --git a/app/assets/javascripts/discourse/tests/setup-tests.js b/app/assets/javascripts/discourse/tests/setup-tests.jsindex 32bd7bf9e58..7498575fa48 100644--- a/app/assets/javascripts/discourse/tests/setup-tests.js+++ b/app/assets/javascripts/discourse/tests/setup-tests.js@@ -417,7 +417,7 @@ function patchFailedAssertion() {// eslint-disable-next-line no-consoleconsole.warn("ℹ️ Hint: when the assertion failed, the Ember runloop was not in a settled state. Maybe you missed an `await` further up the test? Or maybe you need to manually add `await settled()` before your assertion?",- getSettledState()+ JSON.stringify(getSettledState()));}