next.js
c14c6e00 - test: update test for async client component with snapshot (#74550)

Commit
1 year ago
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
Author
Parents
Loading