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

Function createTestScheduler

packages/jest-core/src/TestScheduler.ts:85–90  ·  view source on GitHub ↗
(
  globalConfig: Config.GlobalConfig,
  context: TestSchedulerContext,
)

Source from the content-addressed store, hash-verified

83export type TestSchedulerContext = ReporterContext & TestRunnerContext;
84
85export async function createTestScheduler(
86 globalConfig: Config.GlobalConfig,
87 context: TestSchedulerContext,
88): Promise<TestScheduler> {
89 return new TestScheduler(globalConfig, context);
90}
91
92class TestScheduler {
93 private readonly _context: TestSchedulerContext;

Callers 3

runJestFunction · 0.90
setupSchedulerFunction · 0.90

Calls

no outgoing calls

Tested by 1

setupSchedulerFunction · 0.72