for (var i = 0; i < yearsOptions.length; i++) {
    let yearValue = startYear + i;
    expect(yearsOptions[i].props.value).toEqual(yearValue)
  }