diff --git a/import-maps/common/resources/common-test-helper.js b/import-maps/common/resources/common-test-helper.js
index 002c4b51fd06a6..e4f50342b7a61a 100644
--- a/import-maps/common/resources/common-test-helper.js
+++ b/import-maps/common/resources/common-test-helper.js
@@ -16,7 +16,11 @@ function parse(importMap, importMapBaseURL) {
},
{once: true});
+ const host = location.origin;
+
const testHTML = `
+
+