mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-03 09:35:40 -05:00
fix a few lint warnings (#17286)
This commit is contained in:
@@ -367,7 +367,7 @@ describe('BookTocManagerTests', function () {
|
||||
],
|
||||
'type': BookTreeItemType.savedNotebook
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
testRuns.forEach(function (run) {
|
||||
@@ -555,7 +555,7 @@ describe('BookTocManagerTests', function () {
|
||||
const section: JupyterBookSection = {
|
||||
title: sectionA.title,
|
||||
file: sectionA.uri
|
||||
}
|
||||
};
|
||||
let isParent = bookTocManager.isParent(notebook1, sourceBook, section);
|
||||
should(isParent).be.true('Section A is parent of notebook1');
|
||||
});
|
||||
|
||||
@@ -7,7 +7,7 @@ import * as should from 'should';
|
||||
import * as path from 'path';
|
||||
import * as TypeMoq from 'typemoq';
|
||||
import * as constants from '../../common/constants';
|
||||
import { BookTreeItemType } from '../../common/utils'
|
||||
import { BookTreeItemType } from '../../common/utils';
|
||||
import { IBookTrustManager, BookTrustManager } from '../../book/bookTrustManager';
|
||||
import { BookTreeItem, BookTreeItemFormat } from '../../book/bookTreeItem';
|
||||
import * as vscode from 'vscode';
|
||||
|
||||
@@ -220,7 +220,7 @@ describe('deploy service', function (): void {
|
||||
appSettingType: AppSettingType.AzureFunction,
|
||||
appSettingFile: filePath,
|
||||
envVariableName: 'SQLConnectionString',
|
||||
}
|
||||
};
|
||||
const deployService = new DeployService(testContext.outputChannel);
|
||||
let connection = new azdata.connection.ConnectionProfile();
|
||||
sandbox.stub(azdata.connection, 'getConnection').returns(Promise.resolve(connection));
|
||||
@@ -229,7 +229,6 @@ describe('deploy service', function (): void {
|
||||
await deployService.updateAppSettings(appInteg, deployProfile);
|
||||
let newContent = JSON.parse(fse.readFileSync(filePath, 'utf8'));
|
||||
should(newContent).deepEqual(expected);
|
||||
|
||||
});
|
||||
|
||||
it('Should clean a list of docker images successfully', async function (): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user