You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the following test:
yarn test packages/react-server/src/tests/ReactFlightAsyncDebugInfo-test.js --testNamePattern="can track async information when awaited" --runInBand --verbose
Observe that the test fails due to a snapshot mismatch.
prom.mov
-->
Link to code example: packages/react-server/src/tests/ReactFlightAsyncDebugInfo-test.js
Context: Snapshot Mismatch in ReactFlightAsyncDebugInfo-test
Failing Test Case
test("can track async information when awaited", async () => {
const result = await someAsyncFunction();
expect(getDebugInfo(result)).toMatchInlineSnapshot(Object { "value": undefined, });
});