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: refactor date visibility #1298

Merged
merged 1 commit into from
Feb 22, 2024
Merged

Conversation

alangsto
Copy link
Contributor

Date related code for the Chat component should be moved to the Chat component itself.

Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.38%. Comparing base (6def666) to head (6f511b5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1298   +/-   ##
=======================================
  Coverage   88.37%   88.38%           
=======================================
  Files         291      291           
  Lines        4948     4949    +1     
  Branches     1251     1251           
=======================================
+ Hits         4373     4374    +1     
  Misses        561      561           
  Partials       14       14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

},
courseMetadata: Factory.build('courseMetadata', {
start: '2014-02-03T05:00:00Z',
end: '2014-02-05T05:00:00Z',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm just testing course end date here, because if the enrollment start and end are null, they will both default to the respective course start or course end date. I can add additional tests for each case if there is a need for it.

@alangsto alangsto merged commit ff7366d into master Feb 22, 2024
7 checks passed
@alangsto alangsto deleted the alangsto/refactor_chat_dates branch February 22, 2024 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants