mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fix cms integration tests (#6734)
* attmpt to fix cms tests * attmpt to fix cms
This commit is contained in:
@@ -31,7 +31,7 @@ if (context.RunTest) {
|
|||||||
setup(async function () {
|
setup(async function () {
|
||||||
// Set up CMS provider
|
// Set up CMS provider
|
||||||
if (!cmsService) {
|
if (!cmsService) {
|
||||||
let api: mssql.MssqlExtensionApi = vscode.extensions.getExtension('Microsoft.mssql').exports;
|
let api: mssql.MssqlExtensionApi = await vscode.extensions.getExtension('Microsoft.mssql').activate();
|
||||||
cmsService = await api.getCmsServiceProvider();
|
cmsService = await api.getCmsServiceProvider();
|
||||||
assert(cmsService !== undefined);
|
assert(cmsService !== undefined);
|
||||||
}
|
}
|
||||||
@@ -166,4 +166,3 @@ if (context.RunTest) {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user