DEV: Stringify settledState debug info (#24526)

So it actually shows up in CI (in a form other than `[Object object]`)
This commit is contained in:
Jarek Radosz 2023-11-23 14:29:04 +01:00 committed by GitHub
parent a55f924e27
commit ec03db7199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ function patchFailedAssertion() {
// eslint-disable-next-line no-console
console.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())
);
}