test('change tab object', () => {
  [1, 2, 3].forEach((v) => {
    const { id, type, ...restOfProperties } = changeTabAction(v)
    expect(Object.keys(restOfProperties)).toHaveLength(0)
    expect(id).toBe(v)