aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@jest/core/build/watch.d.ts
blob: d8df91064a8e3fb60f04a3e40499b2099f1cee4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/**
 * 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 type { Config } from '@jest/types';
import type { default as HasteMap } from 'jest-haste-map';
import type { Context } from 'jest-runtime';
import { JestHook } from 'jest-watcher';
import type { Filter } from './types';
export default function watch(initialGlobalConfig: Config.GlobalConfig, contexts: Array<Context>, outputStream: NodeJS.WriteStream, hasteMapInstances: Array<HasteMap>, stdin?: NodeJS.ReadStream, hooks?: JestHook, filter?: Filter): Promise<void>;