@@ -105,7 +105,7 @@ describe.each([
105105 it . each ( [
106106 [
107107 { key : 'mock.key' , textValue : undefined } ,
108- 'Empty ' ,
108+ 'mock.key ' ,
109109 'wrapIcon(undefined, illustration)' ,
110110 'wrapPrimitiveWithText(undefined, undefined)' ,
111111 'wrapPrimitiveWithText(undefined, description)' ,
@@ -115,6 +115,16 @@ describe.each([
115115 key : 'mock.key' ,
116116 item : { content : 'mock.content' , textValue : undefined } ,
117117 } ,
118+ 'mock.key' ,
119+ 'wrapIcon(undefined, illustration)' ,
120+ 'wrapPrimitiveWithText(mock.content, undefined)' ,
121+ 'wrapPrimitiveWithText(undefined, description)' ,
122+ ] ,
123+ [
124+ {
125+ key : 'mock.key' ,
126+ item : { content : 'mock.content' , textValue : '' } ,
127+ } ,
118128 'Empty' ,
119129 'wrapIcon(undefined, illustration)' ,
120130 'wrapPrimitiveWithText(mock.content, undefined)' ,
@@ -132,15 +142,30 @@ describe.each([
132142 ] ,
133143 [
134144 {
135- key : 'mock.key ' ,
145+ key : '' ,
136146 item : {
137- textValue : 'mock.textValue' ,
147+ textValue : undefined ,
138148 icon : 'mock.icon' ,
139149 content : 'mock.content' ,
140150 description : 'mock.description' ,
141151 } ,
142152 } ,
143- 'mock.textValue' ,
153+ 'Empty' ,
154+ 'wrapIcon(mock.icon, illustration)' ,
155+ 'wrapPrimitiveWithText(mock.content, undefined)' ,
156+ 'wrapPrimitiveWithText(mock.description, description)' ,
157+ ] ,
158+ [
159+ {
160+ key : undefined ,
161+ item : {
162+ textValue : undefined ,
163+ icon : 'mock.icon' ,
164+ content : 'mock.content' ,
165+ description : 'mock.description' ,
166+ } ,
167+ } ,
168+ undefined ,
144169 'wrapIcon(mock.icon, illustration)' ,
145170 'wrapPrimitiveWithText(mock.content, undefined)' ,
146171 'wrapPrimitiveWithText(mock.description, description)' ,
0 commit comments