We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 792a15c commit ea92a83Copy full SHA for ea92a83
1 file changed
x-pack/platform/plugins/shared/cases/server/client/cases/utils.test.ts
@@ -40,6 +40,8 @@ import type {
40
CaseCustomFields,
41
CustomFieldsConfiguration,
42
Observable,
43
+ CaseConnector,
44
+ JiraFieldsType,
45
} from '../../../common/types/domain';
46
import {
47
CaseStatuses,
@@ -330,10 +332,10 @@ describe('utils', () => {
330
332
connector: {
331
333
...mockCases[2].attributes.connector,
334
fields: {
- ...mockCases[2].attributes.connector.fields,
335
+ ...(mockCases[2].attributes.connector.fields as JiraFieldsType),
336
otherFields: '{"customfield_123456":"Blue team"}',
337
},
- },
338
+ } as CaseConnector,
339
340
341
}),
0 commit comments