We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02e3f1f commit d2e4896Copy full SHA for d2e4896
1 file changed
packages/devextreme/js/__internal/grids/grid_core/ai_chat/ai_chat.test.ts
@@ -940,8 +940,8 @@ describe('AIChat', () => {
940
941
describe('getUserId', () => {
942
it('should return user id from chat instance', () => {
943
- mockChatInstance.option.mockImplementation((name: string) => {
944
- if (name === 'user.id') return 'user-123';
+ mockChatInstance.option.mockImplementation((...args: unknown[]) => {
+ if (args[0] === 'user.id') return 'user-123';
945
return undefined;
946
});
947
0 commit comments