1import { replaceValue } from '../array';
2
3describe(replaceValue, () => {
4  it(`should replace a value in an array`, () => {
5    expect(replaceValue([1, 2, 3], 1, 2)).toEqual([2, 2, 3]);
6    expect(replaceValue([1, 2, 3], 4, 5)).toEqual([1, 2, 3]);
7  });
8});
9