validateCLIOptions.d.ts 570 B

1234567891011121314
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. import type { Options } from 'yargs';
  8. import type { Config } from '@jest/types';
  9. import type { DeprecatedOptions } from './types';
  10. export declare const DOCUMENTATION_NOTE: string;
  11. export default function validateCLIOptions(argv: Config.Argv, options: {
  12. deprecationEntries: DeprecatedOptions;
  13. [s: string]: Options;
  14. }, rawArgv?: Array<string>): boolean;