diff --git a/test/acceptance/test-cases/hide-attribution.js b/test/acceptance/test-cases/hide-attribution.js index 214dccab2..dcf195465 100644 --- a/test/acceptance/test-cases/hide-attribution.js +++ b/test/acceptance/test-cases/hide-attribution.js @@ -1,6 +1,6 @@ // This script hides the map attribution when served locally improving screenshot testing precission. if (document.URL.includes('file')) { const styleElement = document.createElement('style'); - styleElement.innerText = `.mapboxgl-ctrl.mapboxgl-ctrl-attrib { display: none; }`; + styleElement.innerText = '.mapboxgl-ctrl.mapboxgl-ctrl-attrib { display: none; }'; document.head.appendChild(styleElement); }