Split up NotebookProvider into separate providers for handling file serialization and cell execution. (#17176)

This commit is contained in:
Cory Rivera
2021-09-29 16:15:28 -07:00
committed by GitHub
parent dfc2635aa7
commit 14904bb671
51 changed files with 1426 additions and 971 deletions

View File

@@ -28,6 +28,7 @@ import { TestNotificationService } from 'vs/platform/notification/test/common/te
import { TestTextResourcePropertiesService, TestWorkingCopyFileService } from 'vs/workbench/test/common/workbenchTestServices';
import { UriIdentityService } from 'vs/workbench/services/uriIdentity/common/uriIdentityService';
import { IClipboardService } from 'vs/platform/clipboard/common/clipboardService';
import { INotebookService } from 'sql/workbench/services/notebook/browser/notebookService';
suite('MainThreadDocumentsAndEditors', () => {
@@ -100,7 +101,10 @@ suite('MainThreadDocumentsAndEditors', () => {
return Promise.resolve('clipboard_contents');
}
},
new TestPathService()
new TestPathService(),
<INotebookService>{ // {{SQL CARBON EDIT}}
getSupportedFileExtensions: () => ['ipynb']
}
);
});