update bdc notebook (#6286)

* update bdc notebook and remove sql-image for now

* update test
This commit is contained in:
Alan Ren
2019-07-08 16:41:31 -07:00
committed by GitHub
parent bdb59ecf0c
commit 86df1605a4
6 changed files with 316 additions and 209 deletions

View File

@@ -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);