I am reading over the marbles testing documentation for Rxjs 6, and found this part under the "Examples" section for "Marble Syntax"
Here is the example for my question:
'--(abc)-|': on frame 2 emit a, b, and c, then on frame 8 complete
Why does it say frame 8 for complete?
I count only 5 frames in total for the above string. The string (abc)
should only count as a single frame. It's then followed by another frame -
then a complete |
.
--(abc)-|
11 1 11 = sum(5)
So I don't understand why it's frame 8, but when I run the above in a unit test with marbles it outputs that it completed on frame 8.
So where are the 3 extra frames coming from?