jest-changed-files

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

Install

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

Overview

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

Index

Functions

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.

        Badge

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

        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/jest-changed-files.

        • Markdown
          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/jest-changed-files)
        • HTML
          <a href="https://www.jsdocs.io/package/jest-changed-files"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>