()
| 3756 | |
| 3757 | it(`Something with nested producers #522 ${name}`, () => { |
| 3758 | function initialStateFactory() { |
| 3759 | return { |
| 3760 | substate: { |
| 3761 | array: [ |
| 3762 | {id: "id1", value: 0}, |
| 3763 | {id: "id2", value: 0} |
| 3764 | ] |
| 3765 | }, |
| 3766 | array: [ |
| 3767 | {id: "id1", value: 0}, |
| 3768 | {id: "id2", value: 0} |
| 3769 | ] |
| 3770 | } |
| 3771 | } |
| 3772 | |
| 3773 | const globalProducer = produce(draft => { |
| 3774 | draft.substate = subProducer(draft.substate) |
no outgoing calls
no test coverage detected
searching dependent graphs…