Unverified Commit f93c0bd3 authored by Sebastian Silbermann's avatar Sebastian Silbermann Committed by GitHub

Ensure `assertNoRedbox` has a stack when it fails (#68940)

parent 1088ccdc
...@@ -875,7 +875,7 @@ export async function assertNoRedbox(browser: BrowserInterface) { ...@@ -875,7 +875,7 @@ export async function assertNoRedbox(browser: BrowserInterface) {
`description: ${redboxDescription}\n` + `description: ${redboxDescription}\n` +
`source: ${redboxSource}` `source: ${redboxSource}`
) )
Error.captureStackTrace(error, assertHasRedbox) Error.captureStackTrace(error, assertNoRedbox)
throw error throw error
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment