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 11import { describe , expect , test } from "vitest" ;
2+ import { ApiError } from "../src/v3/apiClient/errors.js" ;
23import { ConsoleInterceptor } from "../src/v3/consoleInterceptor.js" ;
34import {
5+ lifecycleHooks ,
46 RetryOptions ,
57 RunFnParams ,
68 ServerBackgroundWorker ,
79 TaskMetadataWithFunctions ,
810 TaskRunErrorCodes ,
911 TaskRunExecution ,
10- TaskRunExecutionResult ,
11- TaskRunExecutionRetry ,
1212} from "../src/v3/index.js" ;
13+ import { StandardLifecycleHooksManager } from "../src/v3/lifecycleHooks/manager.js" ;
1314import { TracingSDK } from "../src/v3/otel/tracingSDK.js" ;
1415import { TriggerTracer } from "../src/v3/tracer.js" ;
1516import { 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" ;
1917
2018describe ( "TaskExecutor" , ( ) => {
2119 beforeEach ( ( ) => {
@@ -1714,7 +1712,7 @@ describe("TaskExecutor", () => {
17141712 id : "test-run-id" ,
17151713 error : {
17161714 type : "BUILT_IN_ERROR" ,
1717- message : ` ${ status } API Error` ,
1715+ message : " API Error" ,
17181716 name : "TriggerApiError" ,
17191717 stackTrace : expect . any ( String ) ,
17201718 } ,
You can’t perform that action at this time.
0 commit comments