diff --git a/jest.config.unit.js b/jest.config.unit.js
index 80f3f79c0..aead37c65 100644
--- a/jest.config.unit.js
+++ b/jest.config.unit.js
@@ -5,6 +5,7 @@ module.exports = {
verbose: true,
collectCoverage: true,
testEnvironment: 'jest-environment-jsdom-global',
+ testURL: 'http://localhost',
testRegex: '(test/unit.*\\.spec|test/unit/webui/.*\\.spec)\\.js',
setupFiles: [
'./test/unit/setup.js'
diff --git a/test/unit/webui/components/PackageSidebar/__snapshots__/dependencies.spec.js.snap b/test/unit/webui/components/PackageSidebar/__snapshots__/dependencies.spec.js.snap
index 3c5315f22..00cb813dd 100644
--- a/test/unit/webui/components/PackageSidebar/__snapshots__/dependencies.spec.js.snap
+++ b/test/unit/webui/components/PackageSidebar/__snapshots__/dependencies.spec.js.snap
@@ -1,3 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[` : should load the package and match snapshot 1`] = `"
Dependencies
- @verdaccio/file-locking,
- @verdaccio/streams,
- JSONStream,
- apache-md5,
- async,
- body-parser,
- bunyan,
- chalk,
- commander,
- compression,
- cookies,
- cors,
- express,
- global,
- handlebars,
- http-errors,
- js-string-escape,
- js-yaml,
- jsonwebtoken,
- lockfile,
- lodash,
- lunr,
- marked,
- mime,
- minimatch,
- mkdirp,
- pkginfo,
- request,
- semver,
- unix-crypt-td-js
"`;
+exports[` : should load the package and match snapshot 1`] = `"Dependencies
- @verdaccio/file-locking,
- @verdaccio/streams,
- JSONStream,
- apache-md5,
- async,
- body-parser,
- bunyan,
- chalk,
- commander,
- compression,
- cookies,
- cors,
- express,
- global,
- handlebars,
- http-errors,
- js-string-escape,
- js-yaml,
- jsonwebtoken,
- lockfile,
- lodash,
- lunr,
- marked,
- mime,
- minimatch,
- mkdirp,
- pkginfo,
- request,
- semver,
- unix-crypt-td-js
"`;
diff --git a/test/unit/webui/components/__snapshots__/header.spec.js.snap b/test/unit/webui/components/__snapshots__/header.spec.js.snap
index 2e310c915..de2440546 100644
--- a/test/unit/webui/components/__snapshots__/header.spec.js.snap
+++ b/test/unit/webui/components/__snapshots__/header.spec.js.snap
@@ -1,3 +1,3 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[` snapshot test shoud match snapshot 1`] = `""`;
+exports[` snapshot test shoud match snapshot 1`] = `""`;