dillon1000/react

Commit

[DevTools] Use Inline Snapshots for storeStressTestSync (#24583)

Change storeStressTestSync to use inline snapshots instead of a snapshot file. We want to do this because some tests are gated and not called in regression tests, and if snapshot tests are not called when there is a corresponding .snap file, that test will fail.

Arguably inline snapshots are a better pattern anyway, so enforcing this in DevTools tests IMO makes sense
Browse files
Changed paths2 files
First-parent comparison
D packages/react-devtools-shared/src/__tests__/__snapshots__/storeStressSync-test.js.snap DeletedM packages/react-devtools-shared/src/__tests__/storeStressSync-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…