Commit 2928931
refactor: Let HTTP layer handle JSON serialization in test
Remove explicit JSON.stringify/JSON.parse calls from the HTTP mode test,
letting the request helper's encodeBody handle serialization naturally.
This better demonstrates that HTTP mode inherently strips undefined values.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 41223c0 commit 2928931
1 file changed
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
710 | | - | |
| 710 | + | |
711 | 711 | | |
712 | | - | |
713 | | - | |
| 712 | + | |
714 | 713 | | |
715 | 714 | | |
716 | 715 | | |
717 | 716 | | |
718 | | - | |
719 | | - | |
| 717 | + | |
| 718 | + | |
720 | 719 | | |
721 | 720 | | |
722 | 721 | | |
723 | 722 | | |
724 | 723 | | |
725 | | - | |
| 724 | + | |
726 | 725 | | |
727 | | - | |
728 | 726 | | |
729 | | - | |
730 | | - | |
731 | | - | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
732 | 730 | | |
733 | 731 | | |
0 commit comments