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
test: CacheLabel #13318
test: CacheLabel #13318
Conversation
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!
import moment from 'moment'; | ||
import { TooltipContent } from './TooltipContent'; | ||
|
||
test('Rendering TooltipContent correctly - no timestep', () => { |
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.
Small typo timestep to be timestamp
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.
Copy and paste error rsrsrs
Thanks
); | ||
}); | ||
|
||
test('Rendering TooltipContent correctly - with timestep', () => { |
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.
Same typo. Found also in the other tests
Codecov Report
@@ Coverage Diff @@
## master #13318 +/- ##
==========================================
- Coverage 77.20% 72.74% -4.46%
==========================================
Files 872 577 -295
Lines 45101 21021 -24080
Branches 5435 5375 -60
==========================================
- Hits 34820 15292 -19528
+ Misses 10158 5606 -4552
Partials 123 123
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
* add HTMLAttributes on Label Component * Split TooltipContent * moving "CacheLabel.jsx" to "CacheLabel" folder * remove "data-test-id" * Fix timestamp name * removing unused file
SUMMARY
TolltipContent
.TEST PLAN
No change in behavior. All tests must pass.