it("throws an error if `index` is negative", () => {
            expect(() => from(yieldFrom([1, 2, 3])).elementAt(-1)).toThrowError("`index` should not be negative");
        });