MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / from

Method from

packages/node-core/test/cron.test.ts:36–48  ·  view source on GitHub ↗
(params: CronJobParams)

Source from the content-addressed store, hash-verified

34 }
35
36 static from(params: CronJobParams): CronJob {
37 return new CronJobMock(
38 params.cronTime,
39 params.onTick,
40 params.onComplete,
41 params.start,
42 params.timeZone,
43 params.context,
44 params.runOnInit,
45 params.utcOffset,
46 params.unrefTimeout,
47 );
48 }
49 }
50
51 test('new CronJob()', () =>

Callers 5

renderChunkFunction · 0.45
cron.test.tsFile · 0.45
parseProcessPathsFunction · 0.45
getFunction · 0.45
connectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected