mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-30 17:23:29 -05:00
Add more folders to strict compile (#8954)
* add more folders to strictire compile, add more strict compile options * update ci * remove unnecessary assertion
This commit is contained in:
@@ -11,9 +11,10 @@ const testText = '<div>test text</div>';
|
||||
suite('Grid shared services tests', () => {
|
||||
test('textFormatter should encode HTML when formatting a DBCellValue object', () => {
|
||||
// If I format a DBCellValue object that contains HTML
|
||||
let cellValue = new SharedServices.DBCellValue();
|
||||
cellValue.displayValue = testText;
|
||||
cellValue.isNull = false;
|
||||
let cellValue = {
|
||||
displayValue: testText,
|
||||
isNull: false
|
||||
};
|
||||
let formattedHtml = SharedServices.textFormatter(undefined, undefined, cellValue, undefined, undefined);
|
||||
|
||||
// Then the result is HTML for a span element containing the cell value's display value as plain text
|
||||
|
||||
@@ -178,7 +178,7 @@ suite('TableDataView', () => {
|
||||
function populateData(row: number, column: number): any[] {
|
||||
let data: Array<{ [key: string]: string }> = [];
|
||||
for (let i: number = 0; i < row; i++) {
|
||||
let row = {};
|
||||
let row: { [key: string]: string } = {};
|
||||
for (let j: number = 0; j < column; j++) {
|
||||
row[getColumnName(j)] = getCellValue(i, j);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user