dillon1000/react
Commit
Browse files 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`Changed paths2 files
First-parent comparisonpackages/internal-test-utils/__tests__/ReactInternalTestUtils-test.js ModifiedM packages/internal-test-utils/consoleMock.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…