mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-29 20:04:59 +08:00
11 lines
247 B
TypeScript
11 lines
247 B
TypeScript
|
import { jasmine } from './jasmine';
|
||
|
|
||
|
export default class TerminalReporter extends jasmine.Reporter {
|
||
|
reportRunnerResults(runner) {
|
||
|
if (runner.results().failedCount > 0) {
|
||
|
return AppEnv.exit(1);
|
||
|
}
|
||
|
return AppEnv.exit(0);
|
||
|
}
|
||
|
}
|