mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
update bdc notebook (#6286)
* update bdc notebook and remove sql-image for now * update test
This commit is contained in:
@@ -21,10 +21,10 @@ suite('Resource Type Service Tests', function (): void {
|
||||
const resourceTypeService = new ResourceTypeService(mockPlatformService.object, toolsService);
|
||||
// index 0: platform name, index 1: number of expected resource types
|
||||
const platforms: { platform: string; resourceTypeCount: number }[] = [
|
||||
{ platform: 'win32', resourceTypeCount: 2 },
|
||||
{ platform: 'darwin', resourceTypeCount: 2 },
|
||||
{ platform: 'linux', resourceTypeCount: 2 }];
|
||||
const totalResourceTypeCount = 2;
|
||||
{ platform: 'win32', resourceTypeCount: 1 },
|
||||
{ platform: 'darwin', resourceTypeCount: 1 },
|
||||
{ platform: 'linux', resourceTypeCount: 1 }];
|
||||
const totalResourceTypeCount = 1;
|
||||
platforms.forEach(platformInfo => {
|
||||
mockPlatformService.reset();
|
||||
mockPlatformService.setup(service => service.platform()).returns(() => platformInfo.platform);
|
||||
|
||||
Reference in New Issue
Block a user