Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
reprograma
Wallet Frontend
Commits
6499d7fc
Verified
Commit
6499d7fc
authored
Feb 03, 2020
by
reprograma
Browse files
fix App test
parent
9b7d0d14
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/setupTests.js
0 → 100644
View file @
6499d7fc
const
localStorageMock
=
{
getItem
:
jest
.
fn
(),
setItem
:
jest
.
fn
(),
removeItem
:
jest
.
fn
(),
clear
:
jest
.
fn
()
};
global
.
localStorage
=
localStorageMock
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment