@@ -212,7 +212,9 @@ describe('helpers', () => {
212212 } ) ;
213213 const wrapper = shallow < React . ReactElement > ( result [ 0 ] . description as React . ReactElement ) ;
214214 expect ( result [ 0 ] . title ) . toEqual ( 'Mitre Attack' ) ;
215- expect ( wrapper . find ( '[data-test-subj="threatTacticLink"]' ) . text ( ) ) . toEqual ( '' ) ;
215+ expect ( wrapper . find ( '[data-test-subj="threatTacticLink"]' ) . text ( ) ) . toEqual (
216+ 'Collection (TA000999)'
217+ ) ;
216218 expect ( wrapper . find ( '[data-test-subj="threatTechniqueLink"]' ) . text ( ) ) . toEqual (
217219 'Audio Capture (T1123)'
218220 ) ;
@@ -234,7 +236,9 @@ describe('helpers', () => {
234236 expect ( wrapper . find ( '[data-test-subj="threatTacticLink"]' ) . text ( ) ) . toEqual (
235237 'Collection (TA0009)'
236238 ) ;
237- expect ( wrapper . find ( '[data-test-subj="threatTechniqueLink"]' ) . text ( ) ) . toEqual ( '' ) ;
239+ expect ( wrapper . find ( '[data-test-subj="threatTechniqueLink"]' ) . text ( ) ) . toEqual (
240+ 'Audio Capture (T1123456)'
241+ ) ;
238242 } ) ;
239243
240244 test ( 'returns empty technique link if no corresponding subtechnique id found' , ( ) => {
@@ -265,7 +269,9 @@ describe('helpers', () => {
265269 expect ( wrapper . find ( '[data-test-subj="threatTechniqueLink"]' ) . text ( ) ) . toEqual (
266270 'Audio Capture (T1123)'
267271 ) ;
268- expect ( wrapper . find ( '[data-test-subj="threatSubtechniqueLink"]' ) . text ( ) ) . toEqual ( '' ) ;
272+ expect ( wrapper . find ( '[data-test-subj="threatSubtechniqueLink"]' ) . text ( ) ) . toEqual (
273+ 'Audio Capture Data (T1123.000123)'
274+ ) ;
269275 } ) ;
270276
271277 test ( 'returns with corresponding tactic, technique, and subtechnique link text' , ( ) => {
0 commit comments