mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
new component - infobox (#14027)
* new component: infobox * comments * new option * add comments
This commit is contained in:
@@ -312,7 +312,8 @@ export function createViewContext(): ViewTestContext {
|
||||
hyperlink: () => undefined!,
|
||||
tabbedPanel: undefined!,
|
||||
separator: undefined!,
|
||||
propertiesContainer: undefined!
|
||||
propertiesContainer: undefined!,
|
||||
infoBox: undefined!
|
||||
}
|
||||
};
|
||||
return {
|
||||
|
||||
@@ -261,7 +261,8 @@ export function createViewContext(): ViewTestContext {
|
||||
hyperlink: () => hyperLinkBuilder,
|
||||
tabbedPanel: undefined!,
|
||||
separator: undefined!,
|
||||
propertiesContainer: undefined!
|
||||
propertiesContainer: undefined!,
|
||||
infoBox: undefined!
|
||||
}
|
||||
};
|
||||
let tab: azdata.window.DialogTab = {
|
||||
|
||||
@@ -40,7 +40,7 @@ describe('Manage Package Dialog', () => {
|
||||
|
||||
it('getLocationComponent should create text component for undefined location', async function (): Promise<void> {
|
||||
let testContext = createViewContext();
|
||||
let locations: IPackageLocation[] | undefined = undefined;
|
||||
let locations: IPackageLocation[] | undefined = undefined;
|
||||
testContext.model.setup(x => x.getLocations()).returns(() => Promise.resolve(locations));
|
||||
|
||||
let actual = await InstalledPackagesTab.getLocationComponent(testContext.view, testContext.dialog.object);
|
||||
@@ -300,7 +300,8 @@ describe('Manage Package Dialog', () => {
|
||||
hyperlink: undefined!,
|
||||
tabbedPanel: undefined!,
|
||||
separator: undefined!,
|
||||
propertiesContainer: undefined!
|
||||
propertiesContainer: undefined!,
|
||||
infoBox: undefined!
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -352,7 +352,8 @@ export function createViewContext(): ViewTestContext {
|
||||
hyperlink: () => undefined!,
|
||||
tabbedPanel: undefined!,
|
||||
separator: undefined!,
|
||||
propertiesContainer: undefined!
|
||||
propertiesContainer: undefined!,
|
||||
infoBox: undefined!
|
||||
}
|
||||
};
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user