mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -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:
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
};
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user