File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
packages/core/src/test/amazonqFeatureDev/session Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,12 @@ const mockSessionStateConfig = ({
3838 conversationId,
3939 uploadId,
4040 workspaceFolder,
41+ currentCodeGenerationId,
4142} : {
4243 conversationId : string
4344 uploadId : string
4445 workspaceFolder : vscode . WorkspaceFolder
46+ currentCodeGenerationId ?: string
4547} ) : SessionStateConfig => ( {
4648 workspaceRoots : [ 'fake-source' ] ,
4749 workspaceFolders : [ workspaceFolder ] ,
@@ -54,19 +56,22 @@ const mockSessionStateConfig = ({
5456 exportResultArchive : ( ) => mockExportResultArchive ( ) ,
5557 } as unknown as FeatureDevClient ,
5658 uploadId,
59+ currentCodeGenerationId,
5760} )
5861
5962describe ( 'sessionState' , ( ) => {
6063 const conversationId = 'conversation-id'
6164 const uploadId = 'upload-id'
6265 const tabId = 'tab-id'
66+ const currentCodeGenerationId = ''
6367 let testConfig : SessionStateConfig
6468
6569 beforeEach ( async ( ) => {
6670 testConfig = mockSessionStateConfig ( {
6771 conversationId,
6872 uploadId,
6973 workspaceFolder : await createTestWorkspaceFolder ( 'fake-root' ) ,
74+ currentCodeGenerationId,
7075 } )
7176 } )
7277
You can’t perform that action at this time.
0 commit comments