diff options
Diffstat (limited to 'spec/frontend/helpers/local_storage_helper.js')
-rw-r--r-- | spec/frontend/helpers/local_storage_helper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/helpers/local_storage_helper.js b/spec/frontend/helpers/local_storage_helper.js index a66c31d1353..cd39b660bfd 100644 --- a/spec/frontend/helpers/local_storage_helper.js +++ b/spec/frontend/helpers/local_storage_helper.js @@ -10,7 +10,7 @@ */ const useLocalStorage = fn => { const origLocalStorage = window.localStorage; - let currentLocalStorage; + let currentLocalStorage = origLocalStorage; Object.defineProperty(window, 'localStorage', { get: () => currentLocalStorage, |