From: Tiago Melo Date: Fri, 27 Jul 2018 09:51:30 +0000 (+0100) Subject: mgr/dashboard: Fix localStorage problem in Jest X-Git-Tag: v14.0.1~755^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e184719640a74f4a66de8d3022c183d95cb7a18e;p=ceph.git mgr/dashboard: Fix localStorage problem in Jest Latest version of Jest was showing the following error: "SecurityError: localStorage is not available for opaque origins" Signed-off-by: Tiago Melo --- diff --git a/src/pybind/mgr/dashboard/frontend/package.json b/src/pybind/mgr/dashboard/frontend/package.json index 5bf91fd393cbd..6a9b914abe933 100644 --- a/src/pybind/mgr/dashboard/frontend/package.json +++ b/src/pybind/mgr/dashboard/frontend/package.json @@ -32,7 +32,8 @@ ], "modulePathIgnorePatterns": [ "/coverage/" - ] + ], + "testURL": "http://localhost/" }, "dependencies": { "@angular/animations": "6.0.6",