-
Notifications
You must be signed in to change notification settings - Fork 5
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
Mocked credentials for testing purposes #152
Mocked credentials for testing purposes #152
Conversation
@jpoo90 |
@thescientist13 I don't think so. In the
Maybe I'm missing something from the mocking structure you have in place. But I think it's easier to mock the module itself and re-use when necessary. |
@jpoo90 So could we move credentials.ts to test/mocks? Maybe user-credentials.json should be deprecated then? (depending on its usage in the app) |
We can't move the mock to If you are OK with having the |
Well, I guess that settles that then.
Sounds like a plan! 👍 |
ok to test |
Looks like Cobertura is unhappy for the new code without coverage 18:43:35 Cobertura coverage report found.
18:43:35 Code coverage enforcement failed for the following metrics:
18:43:35 Methods's stability is 83.33 and set mininum stability is 87.5.
18:43:35 Lines's stability is 89.49 and set mininum stability is 93.09.
18:43:35 Setting Build to unstable. |
SOOOOOOOO close
|
I can't find why the coverage dropped. This is the difference between master and this branch. Do you have any recommendations ? I don't see how the updated mock affected the interface coverage 😒 |
ok to test |
Can one of the admins verify this patch? |
ok to test |
Can one of the admins verify this patch? |
Can one of the admins verify this patch? |
@jpoo90 fyi: merge conflict |
508a592
to
de58210
Compare
@thescientist13 Solved merge conflicts |
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.
👍
Closes #149
bootstrap.spec.jsx