mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -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 () {
|
||||
// Set up CMS provider
|
||||
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();
|
||||
assert(cmsService !== undefined);
|
||||
}
|
||||
@@ -166,4 +166,3 @@ if (context.RunTest) {
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user