forked from rosa/hakurei
Compare commits
9 Commits
564bc9f98d
...
e03eb18367
| Author | SHA1 | Date | |
|---|---|---|---|
|
e03eb18367
|
|||
|
7a445612b8
|
|||
|
96c77482db
|
|||
|
599001735f
|
|||
|
3ca2d7f376
|
|||
|
5c2031a26e
|
|||
|
26c72cb493
|
|||
|
5726fb1b2f
|
|||
|
f7ab8c7925
|
@@ -352,13 +352,7 @@ export class GoTestReporter implements Reporter {
|
||||
}
|
||||
|
||||
update(path: string[], result: TestResult) {
|
||||
let state: number;
|
||||
switch (result.state) {
|
||||
case "success": state = 0; break;
|
||||
case "failure": state = 1; break;
|
||||
case "skip": state = 2; break;
|
||||
}
|
||||
console.log(JSON.stringify({ path: path, state, logs: result.logs }));
|
||||
console.log(JSON.stringify({ path: path, ...result }));
|
||||
}
|
||||
|
||||
finalize() {
|
||||
|
||||
Reference in New Issue
Block a user