Fix tests in ds/custom_editor branch#10512
Fix tests in ds/custom_editor branch#10512DonJayamanne merged 4 commits intomicrosoft:ds/custom_editorfrom
Conversation
This reverts commit e93f77a.
| .setup(c => c.openEditor(typemoq.It.isAny())) | ||
| .returns(async f => { | ||
| return registeredProvider.resolveCustomEditor(f, panel.object); | ||
| const doc = typemoq.Mock.ofType<CustomDocument>(); |
| "runtimeExecutable": "${execPath}", | ||
| "args": [ | ||
| "--extensionDevelopmentPath=${workspaceFolder}" | ||
| "--extensionDevelopmentPath=${workspaceFolder}", |
There was a problem hiding this comment.
Restored running tests against insiders.
| } | ||
|
|
||
| export const UseCustomEditor = true; | ||
| export const UseCustomEditor = { enabled: true }; |
There was a problem hiding this comment.
Are we're supporting both custom and old editors. We need tests for both.
This object allows us to toggle from tests.
There was a problem hiding this comment.
Do we need to support both? Once this ships we're not using the old way anymore.
|
Kudos, SonarCloud Quality Gate passed!
|
Codecov Report
@@ Coverage Diff @@
## ds/custom_editor #10512 +/- ##
====================================================
+ Coverage 60.8% 60.83% +0.03%
====================================================
Files 579 579
Lines 31301 31303 +2
Branches 4454 4455 +1
====================================================
+ Hits 19032 19043 +11
+ Misses 11308 11293 -15
- Partials 961 967 +6
Continue to review full report at Codecov.
|
* master: Fix merge issue Move redux logging to a different file (#10605) Disable custom editor API (#10604) Ensure local host only if connection not available (#10600) Delegate management of notebooks (creation and disposing) to I… (#10568) Refactor to accommodate upstream VSCode API changes (#10569) Use a single notebook beetween multiple native editors (#10514) Add support for synchronising edits between two nb editors of… (#10189) Fix tests in ds/custom_editor branch (#10512) Fix linter Reimplement custom editor using new API
For #10510