Ho un problema con il testing di alcune funzioni...

Guardate questo codice:
codice:
it("Expect Array.prototype.copyWithin.call({length: 5, 3: 1}, 0, 3) to be equal to {0: 1, 3: 1, length: 5}", function () {
                expect(Array.prototype.copyWithin.call({
                    length: 5,
                    0: 1,
                    3: 1
                }, 0, 3)).toEqual({
                    0: 1,
                    3: 1,
                    length: 5
                });
            });
Ma se eseguo il methodo copyWithin da funzione mi viene fuori lo stesso oggetto che ho passato come argomento al metodo .toEqual...