File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { GitHubEventHandler } from "../src/github/github-event-handler";
66import { logger } from "../src/logger/logger" ;
77import { db } from "./__mocks__/db" ;
88import { server } from "./__mocks__/node" ;
9+ import { createConfigurationHandler } from "./test-utils/configuration-handler" ;
910
1011const createWorkflowDispatch = jest . fn ( ( ) => ( { } ) ) ;
1112const commentCreateEvent = "issue_comment.created" ;
@@ -115,5 +116,6 @@ function createContextInner(commentBody: string): GitHubContext<"issue_comment.c
115116 } as unknown as GitHubEventHandler ,
116117 openAi : { } as unknown as GitHubContext < "issue_comment.created" > [ "openAi" ] ,
117118 llm : "" ,
119+ configurationHandler : createConfigurationHandler ( ) as unknown as GitHubContext < "issue_comment.created" > [ "configurationHandler" ] ,
118120 } ;
119121}
You can’t perform that action at this time.
0 commit comments