File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
packages/components/src/tools-panel/test Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,6 @@ const renderWrappedItemInPanel = () => {
154
154
const renderPanel = ( ) => {
155
155
return render (
156
156
< ToolsPanel { ...defaultProps } >
157
- { false && < div > Hidden</ div > }
158
157
< ToolsPanelItem { ...controlProps } >
159
158
< div > Example control</ div >
160
159
</ ToolsPanelItem >
@@ -236,22 +235,6 @@ describe( 'ToolsPanel', () => {
236
235
it ( 'should not render panel menu when there are no panel items' , ( ) => {
237
236
render (
238
237
< ToolsPanel { ...defaultProps } >
239
- { false && (
240
- < ToolsPanelItem
241
- label = "Not rendered 1"
242
- hasValue = { ( ) => false }
243
- >
244
- Should not show
245
- </ ToolsPanelItem >
246
- ) }
247
- { false && (
248
- < ToolsPanelItem
249
- label = "Not rendered 2"
250
- hasValue = { ( ) => false }
251
- >
252
- Not shown either
253
- </ ToolsPanelItem >
254
- ) }
255
238
< span > Visible but insignificant</ span >
256
239
</ ToolsPanel >
257
240
) ;
You can’t perform that action at this time.
0 commit comments