-
Notifications
You must be signed in to change notification settings - Fork 300
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
Refactors Theme Component and increase coverage #1340
Refactors Theme Component and increase coverage #1340
Conversation
9adac04
to
a7f2b09
Compare
@praveenojha33 @AakashMallik @simsausaurabh we may need to discuss how to tackle the error in travis. This is a well know error which occurs when we test our function. |
@shreyanshdwivedi That issue has been fixed (as mentioned in the comments there). There are some merged PRs also which has referenced that issue. We can look into that and see what changes they have made. |
09868d1
to
3008f47
Compare
Codecov Report
@@ Coverage Diff @@
## development #1340 +/- ##
===============================================
+ Coverage 55.64% 60.77% +5.13%
===============================================
Files 51 51
Lines 1436 1438 +2
Branches 178 180 +2
===============================================
+ Hits 799 874 +75
+ Misses 532 455 -77
- Partials 105 109 +4
Continue to review full report at Codecov.
|
@praveenojha33 @simsausaurabh Please review. :) |
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.
Please resolve conflicts.
@praveenojha33 which conflicts? My branch is showing no conflict with base branch |
@simsausaurabh @praveenojha33 please review |
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.
Is it fine to use then
?
btn.click(); | ||
|
||
fixture.detectChanges(); | ||
fixture.whenStable().then(() => { |
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.
Is it ok to use then
? Can't it be done without it?
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.
Actually whatever reference I got about whenStable
with async
, I found the same format. I don't think it'll work without this
c004018
to
8ce91e1
Compare
@praveenojha33 please review now and let me know if the conflicts still exists |
8ce91e1
to
09540f4
Compare
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.
LGTM 👍
Fixes #1339
Checklist
master
branch.Changes proposed in this pull request: