jest-changed-files

  • Version 27.2.4
  • Published
  • 14.8 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<Config.Path>) => Promise<Repos>;

    function getChangedFilesForRoots

    getChangedFilesForRoots: (
    roots: Array<Config.Path>,
    options: Options
    ) => ChangedFilesPromise;

      Type Aliases

      type ChangedFiles

      type ChangedFiles = {
      repos: Repos;
      changedFiles: Paths;
      };

        type ChangedFilesPromise

        type ChangedFilesPromise = Promise<ChangedFiles>;

          Package Files (2)

          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>