SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

244272 0 0 JavaScript

[tests] Require exact error messages in assertConsole helpers (#35497)

Requires full error message in assert helpers. 

Some of the error messages we asset on add a native javascript stack
trace, which would be a pain to add to the messages and maintain. This
PR allows you to just add `\n in <stack>` placeholder to the error
message to denote a native stack trace is present in the message.

---
Note: i vibe coded this so it was a pain to backtrack this to break this
into a stack, I tried and gave up, sorry.
R
Ricky committed
3e1abcc8d7083a13adf4774feb0d67ecbe4a2bc4
Parent: c186624
Committed by GitHub <[email protected]> on 1/13/2026, 8:52:53 PM