it("throws an error if `index` is greater than the length of the sequence", () => {
            expect(() => from([1, 2, 3]).elementAt(4)).toThrowError("Index too large");
        });