dillon1000/react

Commit

[testing] dump the cache when depending on warning messages

It's possible to configure Jest to not dump the module cache between
specs. This makes it tricky when we silence warnings one a 2nd call.

In this case, the same message was getting logged so when we expected
the count of warning calls to increment, it didn't.
Browse files
Changed paths1 file
First-parent comparison
M src/browser/ui/dom/components/__tests__/ReactDOMInput-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…