mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Update to latest vscodetestcover (#9909)
* Update to latest vscodetestcover * Undo ci disable * Add mssql to coverage upload * Also update sh script * Add mocha reporters * Update yarn.lock * Fix merge conflict * Update * Update yarn.lock again * Fix compile errors * Try disabling test * Disable another test * Try disabling all tests * Leave one test... * Skip msssql tests again * Remove mssql coverage merge * re-disable CI
This commit is contained in:
@@ -319,7 +319,7 @@ class HdfsFileSource implements IFileSource {
|
||||
error = <HdfsError>err;
|
||||
reject(error);
|
||||
});
|
||||
writeStream.on('finish', (location) => {
|
||||
writeStream.on('finish', (location: string) => {
|
||||
if (!error) {
|
||||
resolve(location);
|
||||
}
|
||||
|
||||
@@ -288,7 +288,7 @@ export class FileNode extends HdfsFileSourceNode implements IFileNode {
|
||||
error = err;
|
||||
reject(error);
|
||||
});
|
||||
writeStream.on('finish', (location) => {
|
||||
writeStream.on('finish', () => {
|
||||
if (!error) {
|
||||
resolve(vscode.Uri.file(localPath));
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
import { DataItemCache } from '../../util/dataCache';
|
||||
import 'mocha';
|
||||
import { should } from 'chai'; should();
|
||||
import * as TypeMoq from "typemoq";
|
||||
import * as TypeMoq from 'typemoq';
|
||||
|
||||
describe('DataItemCache', function (): void {
|
||||
|
||||
@@ -67,4 +67,4 @@ describe('DataItemCache', function (): void {
|
||||
|
||||
const sleep = (seconds: number) => {
|
||||
return new Promise(resolve => setTimeout(resolve, 1000 * seconds));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user