fix(core): update

This commit is contained in:
2020-07-07 20:50:29 +00:00
parent e999abbba6
commit 940133493c
5 changed files with 6440 additions and 1449 deletions

View File

@@ -105,14 +105,14 @@ export class TapParser {
/**
* returns all tests that are not completed
*/
getUncompletedTests() {
public getUncompletedTests() {
// TODO:
}
/**
* returns all tests that threw an error
*/
getErrorTests() {
public getErrorTests() {
return this.testStore.filter(tapTestArg => {
return !tapTestArg.testOk;
});
@@ -123,7 +123,7 @@ export class TapParser {
*/
getTestOverviewAsString() {
let overviewString = '';
for (let test of this.testStore) {
for (const test of this.testStore) {
if (overviewString !== '') {
overviewString += ' | ';
}
@@ -181,4 +181,8 @@ export class TapParser {
});
await done.promise;
}
public handleTapLog(tapLog: string) {
this._processLog(tapLog);
}
}