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

Feature/au 1863 #1304

Merged
merged 7 commits into from
Mar 4, 2024
Merged

Feature/au 1863 #1304

merged 7 commits into from
Mar 4, 2024

Conversation

Rodra
Copy link
Contributor

@Rodra Rodra commented Feb 28, 2024

}}
previousHandler={() => {
logEvent('edx.ui.lms.sequence.previous_selected', 'top');
handlePrevious();
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you move these logEvent into handler function? This would make snapshot test easier to read.

@@ -0,0 +1,40 @@
import React from 'react';
import { renderHook } from '@testing-library/react-hooks';
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 I didn't know this exist. It definitely making hooks test more convenient.

@Rodra Rodra force-pushed the feature/AU-1863 branch from 6d8c87d to b184ad1 Compare March 1, 2024 16:09
Copy link

codecov bot commented Mar 1, 2024

Codecov Report

Attention: Patch coverage is 92.59259% with 4 lines in your changes are missing coverage. Please review.

❗ No coverage uploaded for pull request base (feat/whole-course-translations@b2c4e98). Click here to learn what that means.

Files Patch % Lines
src/courseware/course/sequence/Sequence.jsx 92.00% 2 Missing ⚠️
...are/course/sequence/Unit/feedback-widget/index.jsx 92.30% 1 Missing ⚠️
...sequence/Unit/feedback-widget/useFeedbackWidget.js 93.33% 1 Missing ⚠️
Additional details and impacted files
@@                        Coverage Diff                        @@
##             feat/whole-course-translations    #1304   +/-   ##
=================================================================
  Coverage                                  ?   88.50%           
=================================================================
  Files                                     ?      300           
  Lines                                     ?     5037           
  Branches                                  ?     1268           
=================================================================
  Hits                                      ?     4458           
  Misses                                    ?      565           
  Partials                                  ?       14           

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

Copy link
Contributor

@leangseu-edx leangseu-edx left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@Rodra Rodra merged commit a842f82 into feat/whole-course-translations Mar 4, 2024
7 checks passed
@Rodra Rodra deleted the feature/AU-1863 branch March 4, 2024 15:35
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