From e58ac4661ad62cbad7b83ae7122936182432e0d4 Mon Sep 17 00:00:00 2001 From: Richard McCarthy Date: Thu, 21 Sep 2023 11:45:55 +0100 Subject: [PATCH] revert imports --- lighthouse/lighthouse-get-urls.js | 2 +- src/tests/helpers/url-generator.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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`;