MCPcopy
hub / github.com/triggerdotdev/trigger.dev / taskTwo

Method taskTwo

references/unit-testing/dummy-integration/index.ts:85–96  ·  view source on GitHub ↗
(key: IntegrationTaskKey, params: Record<string, any>)

Source from the content-addressed store, hash-verified

83 }
84
85 taskTwo(key: IntegrationTaskKey, params: Record<string, any>): Promise<void> {
86 return this.runTask(
87 key,
88 async (client, task) => {
89 return client.methodTwo();
90 },
91 {
92 name: "Task Two",
93 params,
94 }
95 );
96 }
97}
98
99function onTaskError(error: unknown) {

Callers 1

example.test.tsFile · 0.80

Calls 2

runTaskMethod · 0.95
methodTwoMethod · 0.80

Tested by

no test coverage detected