MCPcopy Index your code
hub / github.com/immerjs/immer / makeBaseState

Function makeBaseState

__tests__/patch.js:202–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200
201describe("#916 nested patches with moved child draft", () => {
202 const makeBaseState = () => ({
203 id: 0,
204 type: "root",
205 children: [{id: 2, type: "node", value: "A"}]
206 })
207
208 const makeRootWithGroup = groupName => ({
209 id: 0,

Callers 1

runNestedPatchScenarioFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…