{renderer(props)}
- {childrenUtils.isNil(children) ? content : children}
+ {childrenUtils.isNil(children) ? content : children}
)
}
diff --git a/test/specs/modules/Search/SearchCategory-test.js b/test/specs/modules/Search/SearchCategory-test.js
index 7060fdd471..129f1c634a 100644
--- a/test/specs/modules/Search/SearchCategory-test.js
+++ b/test/specs/modules/Search/SearchCategory-test.js
@@ -1,7 +1,23 @@
+import React from 'react'
+
import SearchCategory from 'src/modules/Search/SearchCategory'
import * as common from 'test/specs/commonTests'
describe('SearchCategory', () => {
common.isConformant(SearchCategory)
common.rendersChildren(SearchCategory)
+
+ describe('children', () => {
+ it('should be a child with a "name" className', () => {
+ shallow(