diff --git a/lighthouse/lighthouse-get-urls.js b/lighthouse/lighthouse-get-urls.js index c24a0f1107..144faeadeb 100644 --- a/lighthouse/lighthouse-get-urls.js +++ b/lighthouse/lighthouse-get-urls.js @@ -1,6 +1,6 @@ const fs = require('fs'); const util = require('util'); -import glob from 'glob-promise'; +const glob = require('glob-promise'); const readdir = util.promisify(fs.readdir); async function createURLsFile() { diff --git a/src/tests/helpers/url-generator.js b/src/tests/helpers/url-generator.js index 623b357f3a..3c47fbd2e6 100644 --- a/src/tests/helpers/url-generator.js +++ b/src/tests/helpers/url-generator.js @@ -1,7 +1,6 @@ const fs = require('fs'); const util = require('util'); - -import glob from 'glob-promise'; +const glob = require('glob-promise'); const readdir = util.promisify(fs.readdir); const testURL = `http://host.docker.internal:3010`;