{
  "name": "jest",
  "description": "A delightful JavaScript Testing Framework with a focus on simplicity",
  "options": [
    {
      "names": [
        "--bail",
        "-b"
      ],
      "description": "Exit the test suite immediately upon n number of failing test suite. Defaults to 1",
      "args": [
        {
          "name": "n"
        }
      ]
    },
    {
      "names": [
        "--cache"
      ],
      "description": "Whether to use the cache"
    },
    {
      "names": [
        "--no-cache"
      ],
      "description": "Whether to use the cache"
    },
    {
      "names": [
        "--changedFilesWithAncestor"
      ],
      "description": "Runs tests related to the current changes and the changes made in the last commit"
    },
    {
      "names": [
        "--changedSince"
      ],
      "description": "Runs tests related to the changes since the provided branch or commit hash",
      "args": [
        {
          "name": "since"
        }
      ]
    },
    {
      "names": [
        "--ci"
      ],
      "description": "Instead of the regular behavior of storing a new snapshot automatically, will fail the test and require Jest to be run with --updateSnapshot"
    },
    {
      "names": [
        "--clearCache"
      ],
      "description": "Deletes the Jest cache directory and then exits without running tests",
      "args": [
        {
          "name": "cacheDirectory"
        }
      ]
    },
    {
      "names": [
        "--collectCoverageFrom"
      ],
      "description": "A glob pattern relative to rootDir matching the files that coverage info needs to be collected from",
      "separator": "=",
      "args": [
        {
          "name": "glob"
        }
      ]
    },
    {
      "names": [
        "--colors"
      ],
      "description": "Forces test results output highlighting even if stdout is not a TTY"
    },
    {
      "names": [
        "--config",
        "-c"
      ],
      "description": "The path to a Jest config file specifying how to find and execute tests",
      "separator": "=",
      "args": [
        {
          "name": "path",
          "template": "filepaths"
        }
      ]
    },
    {
      "names": [
        "--coverage"
      ],
      "description": "Enable or disable coverage, disabled by default",
      "separator": "=",
      "args": [
        {
          "name": "true|false",
          "suggestions": [
            "true",
            "false"
          ]
        }
      ]
    },
    {
      "names": [
        "--coverageProvider"
      ],
      "description": "Indicates which provider should be used to instrument code for coverage",
      "separator": "=",
      "args": [
        {
          "name": "babel|v8",
          "suggestions": [
            "babel",
            "v8"
          ]
        }
      ]
    },
    {
      "names": [
        "--debug"
      ],
      "description": "Print debugging info about your Jest config"
    },
    {
      "names": [
        "--detectOpenHandles"
      ],
      "description": "Attempt to collect and print open handles preventing Jest from exiting cleanly"
    },
    {
      "names": [
        "--env"
      ],
      "description": "The test environment used for all tests",
      "separator": "=",
      "args": [
        {
          "name": "jsdom|node|path/to/env.js",
          "template": "filepaths",
          "suggestions": [
            "jsdom",
            "node"
          ]
        }
      ]
    },
    {
      "names": [
        "--errorOnDeprecated"
      ],
      "description": "Make calling deprecated APIs throw helpful error messages"
    },
    {
      "names": [
        "--expand",
        "-e"
      ],
      "description": "Use this flag to show full diffs and errors instead of a patch"
    },
    {
      "names": [
        "--findRelatedTests"
      ],
      "description": "Find and run the tests that cover a space separated list of source files that were passed in as arguments",
      "args": [
        {
          "name": "<path1> ... <pathN>"
        }
      ]
    },
    {
      "names": [
        "--forceExit"
      ],
      "description": "Force Jest to exit after all tests have completed running"
    },
    {
      "names": [
        "--help"
      ],
      "description": "Show the help information"
    },
    {
      "names": [
        "--init"
      ],
      "description": "Generate a basic configuration file"
    },
    {
      "names": [
        "--injectGlobals"
      ],
      "description": "Insert Jest's globals (expect, test, describe, beforeEach etc.) into the global environment"
    },
    {
      "names": [
        "--json"
      ],
      "description": "Prints the test results in JSON"
    },
    {
      "names": [
        "--outputFile"
      ],
      "description": "Write test results to a file when the --json option is also specified",
      "separator": "=",
      "args": [
        {
          "name": "filename"
        }
      ]
    },
    {
      "names": [
        "--lastCommit"
      ],
      "description": "Run all tests affected by file changes in the last commit made"
    },
    {
      "names": [
        "--listTests"
      ],
      "description": "Lists all tests as JSON that Jest will run given the arguments, and exits"
    },
    {
      "names": [
        "--logHeapUsage"
      ],
      "description": "Logs the heap usage after every test"
    },
    {
      "names": [
        "--maxConcurrency"
      ],
      "description": "Prevents Jest from executing more than the specified amount of tests at the same time",
      "separator": "=",
      "args": [
        {
          "name": "num"
        }
      ]
    },
    {
      "names": [
        "--maxWorkers",
        "-w"
      ],
      "description": "Specifies the maximum number of workers the worker-pool will spawn for running tests",
      "separator": "=",
      "args": [
        {
          "name": "<num>|<string>"
        }
      ]
    },
    {
      "names": [
        "--noStackTrace"
      ],
      "description": "Disables stack trace in test results output"
    },
    {
      "names": [
        "--notify"
      ],
      "description": "Activates notifications for test results"
    },
    {
      "names": [
        "--onlyChanged",
        "-o"
      ],
      "description": "Attempts to identify which tests to run based on which files have changed in the current repository"
    },
    {
      "names": [
        "--passWithNoTests"
      ],
      "description": "Allows the test suite to pass when no files are found"
    },
    {
      "names": [
        "--projects"
      ],
      "description": "Run tests from one or more projects, found in the specified paths; also takes path globs",
      "args": [
        {
          "name": "<path1> ... <pathN>",
          "isVariadic": true,
          "template": "filepaths"
        }
      ]
    },
    {
      "names": [
        "--reporters"
      ],
      "description": "Run tests with specified reporters",
      "separator": "=",
      "args": [
        {
          "name": "reporter"
        }
      ]
    },
    {
      "names": [
        "--roots"
      ],
      "description": "A list of paths to directories that Jest should use to search for files in",
      "args": [
        {
          "name": "<path1> ... <pathN>",
          "isVariadic": true,
          "template": "folders"
        }
      ]
    },
    {
      "names": [
        "--runInBand",
        "-i"
      ],
      "description": "Run all tests serially in the current process, rather than creating a worker pool of child processes that run tests"
    },
    {
      "names": [
        "--selectProjects"
      ],
      "description": "Run only the tests of the specified projects",
      "args": [
        {
          "name": "<project1> ... <projectN>"
        }
      ]
    },
    {
      "names": [
        "--runTestsByPath"
      ],
      "description": "Run only the tests that were specified with their exact paths"
    },
    {
      "names": [
        "--setupTestFrameworkScriptFile"
      ],
      "description": "The path to a module that runs some code to configure or set up the testing framework before each test",
      "separator": "=",
      "args": [
        {
          "name": "file",
          "template": "filepaths"
        }
      ]
    },
    {
      "names": [
        "--showConfig"
      ],
      "description": "Print your Jest config and then exits"
    },
    {
      "names": [
        "--silent"
      ],
      "description": "Prevent tests from printing messages through the console"
    },
    {
      "names": [
        "--testNamePattern",
        "-t"
      ],
      "description": "Run only tests with a name that matches the regex",
      "separator": "=",
      "args": [
        {
          "name": "regex"
        }
      ]
    },
    {
      "names": [
        "--testLocationInResults"
      ],
      "description": "Adds a location field to test results"
    },
    {
      "names": [
        "--testPathPattern"
      ],
      "description": "A regexp pattern string that is matched against all tests paths before executing the test",
      "separator": "=",
      "args": [
        {
          "name": "regex"
        }
      ]
    },
    {
      "names": [
        "--testPathIgnorePatterns"
      ],
      "description": "An array of regexp pattern strings that are tested against all tests paths before executing the test",
      "separator": "=",
      "args": [
        {
          "name": "[array]"
        }
      ]
    },
    {
      "names": [
        "--testRunner"
      ],
      "description": "Lets you specify a custom test runner",
      "separator": "=",
      "args": [
        {
          "name": "path",
          "template": "filepaths"
        }
      ]
    },
    {
      "names": [
        "--testSequencer"
      ],
      "description": "Lets you specify a custom test sequencer",
      "separator": "=",
      "args": [
        {
          "name": "path",
          "template": "filepaths"
        }
      ]
    },
    {
      "names": [
        "--testTimeout"
      ],
      "description": "Default timeout of a test in milliseconds",
      "separator": "=",
      "args": [
        {
          "name": "timeout in ms"
        }
      ]
    },
    {
      "names": [
        "--updateSnapshot",
        "-u"
      ],
      "description": "Use this flag to re-record every snapshot that fails during this test run"
    },
    {
      "names": [
        "--useStderr"
      ],
      "description": "Divert all output to stderr"
    },
    {
      "names": [
        "--verbose"
      ],
      "description": "Display individual test results with the test suite hierarchy"
    },
    {
      "names": [
        "--version",
        "-v"
      ],
      "description": "Print the version and exit"
    },
    {
      "names": [
        "--watch"
      ],
      "description": "Watch files for changes and rerun tests related to changed files"
    },
    {
      "names": [
        "--watchAll"
      ],
      "description": "Watch files for changes and rerun all tests when something changes"
    },
    {
      "names": [
        "--watchman"
      ],
      "description": "Whether to use watchman for file crawling"
    },
    {
      "names": [
        "--no-watchman"
      ],
      "description": "Whether to use watchman for file crawling"
    }
  ],
  "args": [
    {}
  ]
}
