MCPcopy
hub / github.com/jestjs/jest / toExecutor

Method toExecutor

packages/jest-pattern/src/TestPathPatterns.ts:42–46  ·  view source on GitHub ↗

* Return a TestPathPatternsExecutor that can execute the patterns.

(
    options: TestPathPatternsExecutorOptions,
  )

Source from the content-addressed store, hash-verified

40 * Return a TestPathPatternsExecutor that can execute the patterns.
41 */
42 toExecutor(
43 options: TestPathPatternsExecutorOptions,
44 ): TestPathPatternsExecutor {
45 return new TestPathPatternsExecutor(this, options);
46 }
47
48 /** For jest serializers */
49 toJSON(): any {

Callers 3

isValidMethod · 0.95
emitFileChangeFunction · 0.80
_getTestPathsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected