1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | import { TestResult } from '@jest/test-result';
|
8 | import type { Config } from '@jest/types';
|
9 | import type { SpecResult } from './jasmine/Spec';
|
10 | import type { SuiteResult } from './jasmine/Suite';
|
11 | import type { Reporter, RunDetails } from './types';
|
12 | export default class Jasmine2Reporter implements Reporter {
|
13 | private _testResults;
|
14 | private _globalConfig;
|
15 | private _config;
|
16 | private _currentSuites;
|
17 | private _resolve;
|
18 | private _resultsPromise;
|
19 | private _startTimes;
|
20 | private _testPath;
|
21 | constructor(globalConfig: Config.GlobalConfig, config: Config.ProjectConfig, testPath: Config.Path);
|
22 | jasmineStarted(_runDetails: RunDetails): void;
|
23 | specStarted(spec: SpecResult): void;
|
24 | specDone(result: SpecResult): void;
|
25 | suiteStarted(suite: SuiteResult): void;
|
26 | suiteDone(_result: SuiteResult): void;
|
27 | jasmineDone(_runDetails: RunDetails): void;
|
28 | getResults(): Promise<TestResult>;
|
29 | private _addMissingMessageToStack;
|
30 | private _extractSpecResults;
|
31 | }
|