- 
                Notifications
    You must be signed in to change notification settings 
- Fork 83
chore(amazonq): add more tests for inline completion codes #2385
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
Conversation
| } | ||
| } | ||
|  | ||
| /** src: https://github.com/aws/aws-toolkit-vscode/blob/3921457b0a2094b831beea0d66cc2cbd2a833890/packages/amazonq/src/app/inline/EditRendering/diffUtils.ts#L18 | 
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.
We are not using these methods anywhere
| return secondString.slice(0, i) | ||
| } | ||
|  | ||
| /** | 
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.
These methods are only for NEP but no longer needed: atonaamz@072d13b#diff-7fc86d2d446d18ee020072ff7a970c1314f1f938102b0c0b11bbdb1fba39ae2c
e93097c    to
    334f693      
    Compare
  
    | Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@            Coverage Diff             @@
##             main    #2385      +/-   ##
==========================================
+ Coverage   60.84%   61.23%   +0.39%     
==========================================
  Files         261      261              
  Lines       58437    58281     -156     
  Branches     3558     3579      +21     
==========================================
+ Hits        35556    35689     +133     
+ Misses      22814    22524     -290     
- Partials       67       68       +1     
 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
 | 
Problem
add tests for inline utils files
Solution
add tests for inline utils files and remove unused files
Coverage should go to 85% after this change: https://app.codecov.io/gh/aws/language-servers/commit/b91f1a0de8b711cd1ce24a7389b64daf15e06f72/tree/server/aws-lsp-codewhisperer/src/language-server?dropdown=coverage
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.