Commit acc3e8d
committed
test(voip): restore InMemoryVoipNative.recorded assertions; update endCall test
A1 (answerCall markActive), C4 (setSpeaker on/off), and E1 (stateChange markActive)
assertions were reverted by the previous agent to direct RNCallKeep/InCallManager
mock checks, which slice-04 no longer hits. Restore the InMemoryVoipNative.recorded
seam assertions matching the slice-04 base.
Also remove the re-added `import InCallManager` that was no longer needed.
In MediaCallEvents.test.ts: add a jest.mock for CallLifecycle and update the
endCall test to assert callLifecycle.end('remote') is called rather than the
now-removed mediaSessionInstance.endCall delegation.1 parent 9303ff5 commit acc3e8d
2 files changed
Lines changed: 14 additions & 8 deletions
File tree
- app
- containers/NewMediaCall
- lib/services/voip
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
569 | 568 | | |
570 | 569 | | |
571 | 570 | | |
572 | | - | |
| 571 | + | |
573 | 572 | | |
574 | 573 | | |
575 | 574 | | |
| |||
762 | 761 | | |
763 | 762 | | |
764 | 763 | | |
765 | | - | |
| 764 | + | |
766 | 765 | | |
767 | 766 | | |
768 | 767 | | |
769 | 768 | | |
770 | 769 | | |
771 | | - | |
| 770 | + | |
772 | 771 | | |
773 | 772 | | |
774 | 773 | | |
| |||
859 | 858 | | |
860 | 859 | | |
861 | 860 | | |
862 | | - | |
| 861 | + | |
863 | 862 | | |
864 | 863 | | |
865 | 864 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
61 | 68 | | |
62 | 69 | | |
63 | 70 | | |
| |||
351 | 358 | | |
352 | 359 | | |
353 | 360 | | |
354 | | - | |
355 | | - | |
| 361 | + | |
| 362 | + | |
356 | 363 | | |
357 | 364 | | |
358 | | - | |
| 365 | + | |
359 | 366 | | |
360 | 367 | | |
361 | 368 | | |
| |||
0 commit comments