(key: IntegrationTaskKey, params: Record<string, any>)
| 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 | |
| 99 | function onTaskError(error: unknown) { |
no test coverage detected