dillon1000/react

Commit

Fix assertConsoleErrorDev on message mismatch with withoutStack: true (#29198)

## Summary

```js
assertConsoleErrorDev([
  ['Hello', {withoutStack: true}]
])
```

now errors with a helpful diff message if the message mismatched. See
first commit for previous behavior.

## How did you test this change?

- `yarn test --watch
packages/internal-test-utils/__tests__/ReactInternalTestUtils-test.js`
Browse files
Changed paths2 files
First-parent comparison
M packages/internal-test-utils/__tests__/ReactInternalTestUtils-test.js ModifiedM packages/internal-test-utils/consoleMock.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…