(data: any)
| 532 | |
| 533 | let onChangedListener: ((data: any) => void) | undefined; |
| 534 | const modifyInternalState = (data: any) => { |
| 535 | expect(onChangedListener).toBeTruthy(); |
| 536 | const oldValue = storage[key]; |
| 537 | storage[key] = data; |
| 538 | onChangedListener!({ |
| 539 | [key]: { |
| 540 | oldValue, |
| 541 | newValue: data, |
| 542 | }, |
| 543 | }); |
| 544 | }; |
| 545 | |
| 546 | const parent: any = { |
| 547 | data: 'fromParent', |
no outgoing calls
no test coverage detected