@webex/contact-center 3.12.0-task-refactor.12 → 3.12.0-task-refactor.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/webex.js +1 -1
- package/package.json +1 -1
- package/test/unit/spec/cc.ts +1 -6
- package/test/unit/spec/services/core/Utils.ts +1 -1
- package/test/unit/spec/services/core/websocket/WebSocketManager.ts +1 -0
- package/test/unit/spec/services/task/TaskManager.ts +143 -2316
- package/umd/contact-center.min.js +2 -2
package/dist/webex.js
CHANGED
package/package.json
CHANGED
package/test/unit/spec/cc.ts
CHANGED
|
@@ -403,12 +403,7 @@ describe('webex.cc', () => {
|
|
|
403
403
|
isEndConsultEnabled: mockAgentProfile.isEndConsultEnabled,
|
|
404
404
|
webRtcEnabled: mockAgentProfile.webRtcEnabled,
|
|
405
405
|
autoWrapup: mockAgentProfile.wrapUpData.wrapUpProps.autoWrapup ?? false,
|
|
406
|
-
|
|
407
|
-
expect(mockTaskManager.setConfigFlags).toHaveBeenCalledWith({
|
|
408
|
-
isEndTaskEnabled: mockAgentProfile.isEndTaskEnabled,
|
|
409
|
-
isEndConsultEnabled: mockAgentProfile.isEndConsultEnabled,
|
|
410
|
-
webRtcEnabled: mockAgentProfile.webRtcEnabled,
|
|
411
|
-
autoWrapup: mockAgentProfile.wrapUpData.wrapUpProps.autoWrapup ?? false,
|
|
406
|
+
aiFeature: mockAgentProfile.aiFeature,
|
|
412
407
|
});
|
|
413
408
|
expect(reloadSpy).toHaveBeenCalled();
|
|
414
409
|
expect(result).toEqual(mockAgentProfile);
|
|
@@ -865,7 +865,7 @@ describe('Utils', () => {
|
|
|
865
865
|
};
|
|
866
866
|
|
|
867
867
|
const result = Utils.calculateDestAgentId(interaction, currentAgentId);
|
|
868
|
-
expect(result).
|
|
868
|
+
expect(result).toBe('');
|
|
869
869
|
});
|
|
870
870
|
|
|
871
871
|
it('should handle CBT scenario when phone number is not a direct participant key', () => {
|