jest-config

  • Version 27.3.1
  • Published
  • 132 kB
  • 21 dependencies
  • MIT license

Install

npm i jest-config
yarn add jest-config
pnpm add jest-config

Overview

Overview not available.

Index

Variables

variable defaults

const defaults: any;

    variable deprecationEntries

    const deprecationEntries: any;

      variable descriptions

      const descriptions: { [x: string]: string };

        Functions

        function isJSONString

        isJSONString: (text?: string | JSONString | undefined) => text is JSONString;

          function normalize

          normalize: (
          initialOptions: any,
          argv: any,
          configPath?: Config.Path | null,
          projectIndex?: number
          ) => Promise<{ hasDeprecationWarnings: boolean; options: AllOptions }>;

            function readConfig

            readConfig: (
            argv: any,
            packageRootOrConfig: Config.Path | Config.InitialOptions,
            skipArgvConfigOption?: boolean,
            parentConfigDirname?: Config.Path | null,
            projectIndex?: number,
            skipMultipleConfigWarning?: boolean
            ) => Promise<ReadConfig>;

              function readConfigs

              readConfigs: (
              argv: any,
              projectPaths: Array<Config.Path>
              ) => Promise<{
              globalConfig: Config.GlobalConfig;
              configs: Array<Config.ProjectConfig>;
              hasDeprecationWarnings: boolean;
              }>;

                function replaceRootDirInPath

                replaceRootDirInPath: (rootDir: any, filePath: any) => string;

                  Namespaces

                  namespace constants

                  module 'build/constants.d.ts' {}
                  • Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.

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

                  variable DEFAULT_JS_PATTERN

                  const DEFAULT_JS_PATTERN: string;

                    variable DEFAULT_REPORTER_LABEL

                    const DEFAULT_REPORTER_LABEL: string;

                      variable JEST_CONFIG_BASE_NAME

                      const JEST_CONFIG_BASE_NAME: string;

                        variable JEST_CONFIG_EXT_CJS

                        const JEST_CONFIG_EXT_CJS: string;

                          variable JEST_CONFIG_EXT_JS

                          const JEST_CONFIG_EXT_JS: string;

                            variable JEST_CONFIG_EXT_JSON

                            const JEST_CONFIG_EXT_JSON: string;

                              variable JEST_CONFIG_EXT_MJS

                              const JEST_CONFIG_EXT_MJS: string;

                                variable JEST_CONFIG_EXT_ORDER

                                const JEST_CONFIG_EXT_ORDER: readonly string[];

                                  variable JEST_CONFIG_EXT_TS

                                  const JEST_CONFIG_EXT_TS: string;

                                    variable NODE_MODULES

                                    const NODE_MODULES: string;
                                    • Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.

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

                                    variable PACKAGE_JSON

                                    const PACKAGE_JSON: string;

                                      Package Files (7)

                                      Dependencies (21)

                                      Dev Dependencies (9)

                                      Peer Dependencies (1)

                                      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-config.

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