Skip to content

fix(gaec): gaec axios reponse parsing - #2138

Merged
ujjwal-ab merged 10 commits into
developfrom
gaec/error-handling
May 15, 2023
Merged

ujjwal-ab merged 10 commits into
developfrom
gaec/error-handling

Conversation

@ujjwal-ab

Copy link
Copy Markdown
Contributor

Description of the change

Fix gaec axios reponse parsing

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@ujjwal-ab
ujjwal-ab requested a review from a team as a code owner May 8, 2023 08:54
@ujjwal-ab ujjwal-ab self-assigned this May 8, 2023
@sanpj2292

Copy link
Copy Markdown

@ujjwal-ab can we add a test-case to make sure our changes are working correctly ?

@ujjwal-ab
ujjwal-ab requested a review from sanpj2292 May 11, 2023 13:53
@sanpj2292

sanpj2292 commented May 12, 2023 •

Copy link
Copy Markdown

If we can add more test-cases for the fix, it would improve coverage & it could also resolve the error thrown in GHA for code-coverage

@ujjwal-ab

Copy link
Copy Markdown
Contributor Author

If we can add more test-cases for the fix, it would improve coverage & it could also resolve the error thrown in GHA for code-coverage

Added test for empty response.

@codecov

codecov Bot commented May 12, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01 🎉

Comparison is base (35a5b37) 87.95% compared to head (613f46d) 87.97%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2138      +/-   ##
===========================================
+ Coverage    87.95%   87.97%   +0.01%     
===========================================
  Files          510      510              
  Lines        25860    25862       +2     
  Branches      6401     6403       +2     
===========================================
+ Hits         22746    22752       +6     
+ Misses        2782     2778       -4     
  Partials       332      332              
Impacted Files Coverage Δ
...gle_adwords_enhanced_conversions/networkHandler.js 92.15% <100.00%> (+2.36%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

sanpj2292
sanpj2292 previously approved these changes May 12, 2023

@sanpj2292 sanpj2292 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@ujjwal-ab
ujjwal-ab requested a review from ItsSudip May 12, 2023 10:07
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@sanpj2292
sanpj2292 self-requested a review May 15, 2023 05:19
@ujjwal-ab
ujjwal-ab merged commit 1f9a864 into develop May 15, 2023
@sanpj2292
sanpj2292 deleted the gaec/error-handling branch May 15, 2023 05: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.

3 participants