Files
Jiachi Liu c14c6e0012 test: update test for async client component with snapshot (#74550)
### What

When there's a async client component used in the component tree, it's not available to display the component stack whether you enable react owner stack or not. It's likely a bug in `React.captureOwnerStack`.

We update the existing test here to ensure the error is surfaced when the mistake is comitted. We also assert on the snapshots of component stack but leave it as a TODO now since the component stack of errored component (the async client component) is not displayed.

Related to NDX-475
2025-01-06 19:19:18 +01:00

2 lines
20 B
JavaScript