Skip to content

Commit 40a3e2b

Browse files
committed
fix tests after rebase
1 parent 385692b commit 40a3e2b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/devextreme/js/__internal/grids/grid_core/ai_assistant/__tests__/ai_assistant_controller.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,12 @@ describe('AIAssistantController', () => {
193193
{ status: 'aborted', message: 'filter aborted' },
194194
]),
195195
abort: jest.fn(),
196+
buildResponseSchema: jest.fn().mockReturnValue({ type: 'object' }),
197+
isExecuting: jest.fn().mockReturnValue(false),
196198
}),
197199
);
198200

199-
const controller = createController({
200-
'aiAssistant.aiIntegration': mockAIIntegration,
201-
});
201+
const controller = createController();
202202

203203
// eslint-disable-next-line @typescript-eslint/no-floating-promises
204204
controller.sendRequestToAI({

0 commit comments

Comments
 (0)