Skip to content
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

feat(dateHelpers): sw-2353 added setMillisecondsFromDate #1342

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

cdcabrera
Copy link
Member

What's included

  • feat(dateHelpers): sw-2353 added setMillisecondsFromDate
  • test: expand jest renderHook, allow rerender, updated args

Notes

  • incremental support work for sw-2353
  • no visual updates associated with this work

How to test

Coverage and basic unit test check

  1. update the NPM packages with $ npm install
  2. $ npm test
  3. confirm tests come back clean

Check the build

  1. update the NPM packages with $ npm install
  2. $ npm run build
  3. confirm tests come back clean

Example

...

Updates issue/story

related sw-2353 #1328

@cdcabrera cdcabrera added the 202408 project phase label Jun 23, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jun 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.00%. Comparing base (96bd13b) to head (be214e8).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1342   +/-   ##
=======================================
  Coverage   91.99%   92.00%           
=======================================
  Files         113      113           
  Lines        4399     4401    +2     
  Branches     1857     1858    +1     
=======================================
+ Hits         4047     4049    +2     
  Misses        332      332           
  Partials       20       20           
Files Coverage Δ
src/common/dateHelpers.js 93.24% <100.00%> (+0.18%) ⬆️
src/common/downloadHelpers.js 93.33% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96bd13b...be214e8. Read the comment docs.

@cdcabrera cdcabrera merged commit 6d43274 into RedHatInsights:main Jun 24, 2024
5 of 7 checks passed
cdcabrera added a commit that referenced this pull request Jun 24, 2024
* dateHelpers, add milliseconds from a date
* downloadHelpers, fix for revokeObjectURL
cdcabrera added a commit that referenced this pull request Jun 25, 2024
* dateHelpers, add milliseconds from a date
* downloadHelpers, fix for revokeObjectURL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
202408 project phase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants