index.d.ts 585 B

123456789101112
  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. */
  8. import type { Config } from '@jest/types';
  9. import type { ChangedFilesPromise, Options, Repos } from './types';
  10. export type { ChangedFiles, ChangedFilesPromise } from './types';
  11. export declare const getChangedFilesForRoots: (roots: Array<Config.Path>, options: Options) => ChangedFilesPromise;
  12. export declare const findRepos: (roots: Array<Config.Path>) => Promise<Repos>;