aboutsummaryrefslogtreecommitdiff
path: root/node_modules/jest-jasmine2/build/reporter.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/jest-jasmine2/build/reporter.d.ts')
-rw-r--r--node_modules/jest-jasmine2/build/reporter.d.ts31
1 files changed, 31 insertions, 0 deletions
diff --git a/node_modules/jest-jasmine2/build/reporter.d.ts b/node_modules/jest-jasmine2/build/reporter.d.ts
new file mode 100644
index 0000000..3d6ee8c
--- /dev/null
+++ b/node_modules/jest-jasmine2/build/reporter.d.ts
@@ -0,0 +1,31 @@
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+import { TestResult } from '@jest/test-result';
+import type { Config } from '@jest/types';
+import type { SpecResult } from './jasmine/Spec';
+import type { SuiteResult } from './jasmine/Suite';
+import type { Reporter, RunDetails } from './types';
+export default class Jasmine2Reporter implements Reporter {
+ private _testResults;
+ private _globalConfig;
+ private _config;
+ private _currentSuites;
+ private _resolve;
+ private _resultsPromise;
+ private _startTimes;
+ private _testPath;
+ constructor(globalConfig: Config.GlobalConfig, config: Config.ProjectConfig, testPath: Config.Path);
+ jasmineStarted(_runDetails: RunDetails): void;
+ specStarted(spec: SpecResult): void;
+ specDone(result: SpecResult): void;
+ suiteStarted(suite: SuiteResult): void;
+ suiteDone(_result: SuiteResult): void;
+ jasmineDone(_runDetails: RunDetails): void;
+ getResults(): Promise<TestResult>;
+ private _addMissingMessageToStack;
+ private _extractSpecResults;
+}