src/components/autocomplete/autocomplete.spec.js
function fakeItemMatch() {
      var matches = [];

      for (var i = 0; i < dropdownItems; i++) {
        matches.push('Item ' + i);
      }

      return matches;
    }
function fakeItemMatch() {
      var matches = [];

      for (var i = 0; i < dropdownItems; i++) {
        matches.push('Item ' + i);
      }

      return matches;
    }
function fakeItemMatch ( ) { var matches = [ ] ; for ( var i = 0 ; i < dropdownItems ; i ++ ) { matches . push ( 'Item ' + i ) ; } return matches ; }
Function to create fake matches with the given dropdown items.
Useful when running tests against the dropdown max items calculations.
@returns {Array} Fake matches.
Function to create fake matches with the given dropdown items . Useful when running tests against the dropdown max items calculations .