Skip to content

[pull] main from pmndrs:main#90

Merged
pull[bot] merged 1 commit intocode:mainfrom
pmndrs:main
Apr 21, 2026
Merged

[pull] main from pmndrs:main#90
pull[bot] merged 1 commit intocode:mainfrom
pmndrs:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 21, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

* test(middleware/immer): add runtime tests for immer middleware

* test(middleware/immer): rename non-function-updater test to describe produce bypass

The previous name ("should merge state when given a non-function updater")
implied merge semantics, which is vanilla setState's behavior. What the test
actually exercises is immer.ts:79, where a non-function updater bypasses
`produce`. Renaming to "should not apply produce when updater is not a
function" per @sukvvon's review feedback.
@pull pull Bot locked and limited conversation to collaborators Apr 21, 2026
@pull pull Bot added the ⤵️ pull label Apr 21, 2026
@pull pull Bot merged commit 95d3f33 into code:main Apr 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant