• Version 29.7.0
  • Published
  • 18.2 kB
  • 3 dependencies
  • MIT license


npm i jest-changed-files
yarn add jest-changed-files
pnpm add jest-changed-files


A module used internally by Jest to check which files have changed since you last committed in git or hg.



function findRepos

findRepos: (roots: Array<string>) => Promise<Repos>;

    function getChangedFilesForRoots

    getChangedFilesForRoots: (
    roots: Array<string>,
    options: Options
    ) => ChangedFilesPromise;

      Type Aliases

      type ChangedFiles

      type ChangedFiles = {
      repos: Repos;
      changedFiles: Paths;
      • Copyright (c) Meta Platforms, Inc. and affiliates.

        This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

      type ChangedFilesPromise

      type ChangedFilesPromise = Promise<ChangedFiles>;

        Package Files (1)

        Dependencies (3)

        Dev Dependencies (0)

        No dev dependencies.

        Peer Dependencies (0)

        No peer dependencies.


        To add a badge like this badgeto your package's README, use the codes available below.

        You may also use to create a custom badge linking to

        • Markdown
        • HTML
          <a href=""><img src="" alt=""></a>