mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-04 17:23:45 -05:00
Kusto Kernel New Notebook Changes (#12085)
* Kusto New Notebook Action Changes * Kusto Cluster properly switches context when kernel changes * SQL Connections kernel change to Kusto works properly * Multiple New Kusto Notebooks open properly and change kernels properly * Fix SQL Notebook - Change to Kusto Kernel * Fix unit tests * Address comments * Add test, and finalize changes
This commit is contained in:
@@ -1098,11 +1098,12 @@ suite('SQL ConnectionManagementService tests', () => {
|
||||
});
|
||||
|
||||
test('providerNameToDisplayNameMap should return all providers', () => {
|
||||
let expectedNames = ['MSSQL', 'PGSQL'];
|
||||
let expectedNames = ['MSSQL', 'PGSQL', 'KUSTO'];
|
||||
let providerNames = Object.keys(connectionManagementService.providerNameToDisplayNameMap);
|
||||
assert.equal(providerNames.length, 2);
|
||||
assert.equal(providerNames.length, 3);
|
||||
assert.equal(providerNames[0], expectedNames[0]);
|
||||
assert.equal(providerNames[1], expectedNames[1]);
|
||||
assert.equal(providerNames[2], expectedNames[2]);
|
||||
});
|
||||
|
||||
test('ensureDefaultLanguageFlavor should not send event if uri is connected', () => {
|
||||
|
||||
Reference in New Issue
Block a user