File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
import { describe , expect , test } from "vitest" ;
2
+ import { ApiError } from "../src/v3/apiClient/errors.js" ;
2
3
import { ConsoleInterceptor } from "../src/v3/consoleInterceptor.js" ;
3
4
import {
5
+ lifecycleHooks ,
4
6
RetryOptions ,
5
7
RunFnParams ,
6
8
ServerBackgroundWorker ,
7
9
TaskMetadataWithFunctions ,
8
10
TaskRunErrorCodes ,
9
11
TaskRunExecution ,
10
- TaskRunExecutionResult ,
11
- TaskRunExecutionRetry ,
12
12
} from "../src/v3/index.js" ;
13
+ import { StandardLifecycleHooksManager } from "../src/v3/lifecycleHooks/manager.js" ;
13
14
import { TracingSDK } from "../src/v3/otel/tracingSDK.js" ;
14
15
import { TriggerTracer } from "../src/v3/tracer.js" ;
15
16
import { TaskExecutor } from "../src/v3/workers/taskExecutor.js" ;
16
- import { StandardLifecycleHooksManager } from "../src/v3/lifecycleHooks/manager.js" ;
17
- import { lifecycleHooks } from "../src/v3/index.js" ;
18
- import { ApiError } from "../src/v3/apiClient/errors.js" ;
19
17
20
18
describe ( "TaskExecutor" , ( ) => {
21
19
beforeEach ( ( ) => {
@@ -1714,7 +1712,7 @@ describe("TaskExecutor", () => {
1714
1712
id : "test-run-id" ,
1715
1713
error : {
1716
1714
type : "BUILT_IN_ERROR" ,
1717
- message : ` ${ status } API Error` ,
1715
+ message : " API Error" ,
1718
1716
name : "TriggerApiError" ,
1719
1717
stackTrace : expect . any ( String ) ,
1720
1718
} ,
You can’t perform that action at this time.
0 commit comments