Commit f472c02
committed
incrementalDelivery: fix iterable streaming with errors
When iterables (not asyncIterables) are streamed, and completeValue throws an error, we currently send undefined rather than null, due to a typo.
This change corrects the typo, and also modifies the test intended to check this case to correctly check a streamed iterable, rather than an asyncIterable.
Code coverage was complete prior to this change, because the line involving this change was reached in the case where the error was non-recoverable, albeit with the line throwing.1 parent 612abd3 commit f472c02
2 files changed
+3
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
826 | | - | |
827 | | - | |
828 | | - | |
829 | | - | |
| 826 | + | |
830 | 827 | | |
831 | 828 | | |
832 | 829 | | |
| |||
849 | 846 | | |
850 | 847 | | |
851 | 848 | | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | 849 | | |
856 | 850 | | |
857 | 851 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1838 | 1838 | | |
1839 | 1839 | | |
1840 | 1840 | | |
1841 | | - | |
1842 | 1841 | | |
1843 | 1842 | | |
1844 | 1843 | | |
| |||
1885 | 1884 | | |
1886 | 1885 | | |
1887 | 1886 | | |
1888 | | - | |
| 1887 | + | |
1889 | 1888 | | |
1890 | 1889 | | |
1891 | 1890 | | |
| |||
1899 | 1898 | | |
1900 | 1899 | | |
1901 | 1900 | | |
| 1901 | + | |
1902 | 1902 | | |
1903 | 1903 | | |
1904 | 1904 | | |
| |||
0 commit comments