Home / Type/ Jest Type — react Architecture

Jest Type — react Architecture

Architecture documentation for the Jest type/interface in jest.d.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  a5828327_fcd1_74db_15dc_d90a9ed812d0["Jest"]
  b1756f3e_1ac5_9273_3afa_eb918ea11234["jest.d.ts"]
  a5828327_fcd1_74db_15dc_d90a9ed812d0 -->|defined in| b1756f3e_1ac5_9273_3afa_eb918ea11234
  style a5828327_fcd1_74db_15dc_d90a9ed812d0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/jest/typescript/jest.d.ts lines 42–55

interface Jest {
  autoMockOff(): void;
  autoMockOn(): void;
  clearAllTimers(): void;
  dontMock(moduleName: string): void;
  genMockFromModule(moduleObj: Object): Object;
  genMockFunction(): MockFunction;
  genMockFn(): MockFunction;
  mock(moduleName: string): void;
  runAllTicks(): void;
  runAllTimers(): void;
  runOnlyPendingTimers(): void;
  setMock(moduleName: string, moduleExports: Object): void;
}

Frequently Asked Questions

What is the Jest type?
Jest is a type/interface in the react codebase, defined in scripts/jest/typescript/jest.d.ts.
Where is Jest defined?
Jest is defined in scripts/jest/typescript/jest.d.ts at line 42.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free