-
Notifications
You must be signed in to change notification settings - Fork 6k
refactor: add func and tests for getNlsConfiguration #3640
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
Codecov Report
@@ Coverage Diff @@
## main #3640 +/- ##
==========================================
+ Coverage 60.67% 61.33% +0.66%
==========================================
Files 35 35
Lines 1790 1800 +10
Branches 404 408 +4
==========================================
+ Hits 1086 1104 +18
+ Misses 562 554 -8
Partials 142 142
Continue to review full report at Codecov.
|
_resolvedLanguagePackCoreLocation?: string | ||
_corruptedFile?: string | ||
_languagePackSupport?: boolean | ||
loadBundle?: 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.
Incremental type improvements 😄
One day, we will be able to remove that /* eslint-disable @typescript-eslint/no-explicit-any */
but today is not that today.
9386833
to
d833967
Compare
2c69ada
to
1d19c4c
Compare
@code-asher ready for a a second review! |
1d19c4c
to
e6c828b
Compare
e6c828b
to
e0ab67d
Compare
This PR refactors part of vscode.ts and adds a function to get the NLS Configuration. This makes the code more readable and easier to test. And it adds multiple tests for this part of the codebase.
e0ab67d
to
02b9489
Compare
This PR refactors a couple lines inside
src/browser/pages/vscode.ts
so that it's easier to maintain and test.Changes
getNlsConfiguration
Checklist
CHANGELOG.md
Fixes: N/A