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:
Charles Gagnon
2020-04-14 21:32:17 -07:00
committed by GitHub
parent b6b72de706
commit 30607ec61b
26 changed files with 4453 additions and 3939 deletions

View File

@@ -1086,7 +1086,9 @@
"@types/through2": "^2.0.34",
"chai": "^4.2.0",
"mocha": "^7.1.1",
"mocha-junit-reporter": "^1.17.0",
"mocha-multi-reporters": "^1.1.7",
"typemoq": "^2.1.0",
"vscodetestcover": "github:corivera/vscodetestcover#1.0.5"
"vscodetestcover": "github:corivera/vscodetestcover#1.0.6"
}
}

View File

@@ -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);
}

View File

@@ -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));
}

View File

@@ -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));
}
};

File diff suppressed because it is too large Load Diff