aboutsummaryrefslogtreecommitdiff
path: root/node_modules/jest-config/build/getMaxWorkers.d.ts
blob: 81dfedc367bcd7060490143feec12741f165ed9b (plain)
1
2
3
4
5
6
7
8
/**
 * 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 type { Config } from '@jest/types';
export default function getMaxWorkers(argv: Partial<Pick<Config.Argv, 'maxWorkers' | 'runInBand' | 'watch' | 'watchAll'>>, defaultOptions?: Partial<Pick<Config.Argv, 'maxWorkers'>>): number;