-
Notifications
You must be signed in to change notification settings - Fork 44
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
Increasing test coverage #3104
Increasing test coverage #3104
Conversation
🚀 Deployed on https://deploy-preview-3104--glific-frontend.netlify.app |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3104 +/- ##
==========================================
+ Coverage 80.97% 81.45% +0.47%
==========================================
Files 323 320 -3
Lines 10351 10281 -70
Branches 2198 2187 -11
==========================================
- Hits 8382 8374 -8
+ Misses 1340 1300 -40
+ Partials 629 607 -22 ☔ View full report in Codecov by Sentry. |
Glific Run #5359
Run Properties:
|
Project |
Glific
|
Branch Review |
fix/test-cases
|
Run status |
Passed #5359
|
Run duration | 25m 28s |
Commit |
ae80e8afb4 ℹ️: Merge 99d157275cb5a556fbf87c7fa08cc8f3901d5489 into 963222288894aa93aa83a4036701...
|
Committer | Akansha Sakhre |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
169
|
View all changes introduced in this branch ↗︎ |
@@ -1,6 +1,6 @@ | |||
{ | |||
"semi": true, | |||
"printWidth": 100, |
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.
any specific reason for this change?
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.
the test coverage for AuthenticatedRoute file was not covering all lines because it was going to the next line
yarn.lock
Outdated
@@ -5514,8 +5514,16 @@ streamx@^2.12.0, streamx@^2.12.5, streamx@^2.13.2, streamx@^2.14.0: | |||
optionalDependencies: | |||
bare-events "^2.2.0" | |||
|
|||
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0: | |||
name string-width-cjs | |||
"string-width-cjs@npm:string-width@^4.2.0": |
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.
why is lock file updated?
src/containers/SettingList/OrganizationFlows/OrganisationFLows.test.tsx
Outdated
Show resolved
Hide resolved
@@ -152,6 +152,95 @@ export const FormLayout = ({ | |||
const [showConfirmationDialog, setShowConfirmationDialog] = useState(false); | |||
const params = useParams(); | |||
|
|||
const saveHandler = ({ languageId: languageIdValue, ...itemData }: any) => { |
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.
any reason for moving these 2 function around?
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.
earlier it was used before its declaration, which raised an error sometimes
Looks good. |
No description provided.