aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@jest/core/build/runJest.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@jest/core/build/runJest.d.ts')
-rw-r--r--node_modules/@jest/core/build/runJest.d.ts27
1 files changed, 27 insertions, 0 deletions
diff --git a/node_modules/@jest/core/build/runJest.d.ts b/node_modules/@jest/core/build/runJest.d.ts
new file mode 100644
index 0000000..9a8240b
--- /dev/null
+++ b/node_modules/@jest/core/build/runJest.d.ts
@@ -0,0 +1,27 @@
+/**
+ * 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.
+ */
+/// <reference types="node" />
+import { AggregatedResult } from '@jest/test-result';
+import type { Config } from '@jest/types';
+import type { ChangedFilesPromise } from 'jest-changed-files';
+import type { Context } from 'jest-runtime';
+import { JestHookEmitter } from 'jest-watcher';
+import type FailedTestsCache from './FailedTestsCache';
+import type TestWatcher from './TestWatcher';
+import type { Filter } from './types';
+export default function runJest({ contexts, globalConfig, outputStream, testWatcher, jestHooks, startRun, changedFilesPromise, onComplete, failedTestsCache, filter, }: {
+ globalConfig: Config.GlobalConfig;
+ contexts: Array<Context>;
+ outputStream: NodeJS.WriteStream;
+ testWatcher: TestWatcher;
+ jestHooks?: JestHookEmitter;
+ startRun: (globalConfig: Config.GlobalConfig) => void;
+ changedFilesPromise?: ChangedFilesPromise;
+ onComplete: (testResults: AggregatedResult) => void;
+ failedTestsCache?: FailedTestsCache;
+ filter?: Filter;
+}): Promise<void>;