-
Notifications
You must be signed in to change notification settings - Fork 57
test: Add Unit Tests for Persistence Module #335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
test: Add Unit Tests for Persistence Module #335
Conversation
|
SonarCloud Quality Gate failed.
|
src/persistence.js
Outdated
| try { | ||
| storage.setItem('mparticle', 'test'); | ||
| result = storage.getItem('mparticle') === 'test'; | ||
| storage.getItem('mparticle') === 'test'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| storage.getItem('mparticle') === 'test'; | |
| var result = storage.getItem('mparticle') === 'test'; |
src/persistence.js
Outdated
| storage.getItem('mparticle') === 'test'; | ||
| storage.removeItem('mparticle'); | ||
| return result && storage; | ||
| return true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| return true; | |
| return result; |
|
SonarCloud Quality Gate failed.
|
b487b59 to
4bf8ef9
Compare
|
SonarCloud Quality Gate failed.
|
e715974 to
6f1f758
Compare
0406bea to
91b23fe
Compare
91b23fe to
65c785c
Compare
|
Kudos, SonarCloud Quality Gate passed!
|
1fdcd41 to
029f51e
Compare
|
SonarCloud Quality Gate failed.
|
8d955f2 to
3f4f268
Compare
b6883b6 to
b8a1a8f
Compare
f03c5ed to
3df8d84
Compare
ca2b2d9 to
da03fea
Compare
905641c to
b16bdd2
Compare














Summary
Master Issue
Closes https://go.mparticle.com/work/SQDSDKS-4431