spec/suites/SearchOptionsSpec.js
function destroyMap (map) {
    var el = map.getContainer();
    map.remove();
    document.body.removeChild(el);
  }
function destroyMap (map) {
    var el = map.getContainer();
    map.remove();
    document.body.removeChild(el);
  }
function destroyMap ( map ) { var el = map . getContainer ( ) ; map . remove ( ) ; document . body . removeChild ( el ) ; }
Don't forget to clean up the map and DOM after you're done
Don t forget to clean up the map and DOM after you re done