it('returns a copy of the array if there are no matches', () => {
    const array = [4, 5, 4, 6];
    const replacedArray = deepReplaceInObject(9, 10, array);
    const expected = [4, 5, 4, 6];
    expect(replacedArray).to.deep.equal(expected);