File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -35,18 +35,6 @@ describe('<TreeNode />', () => {
3535 } ) ;
3636 } ) ;
3737
38- describe ( 'label' , ( ) => {
39- it ( 'should render the node\'s label' , ( ) => {
40- const wrapper = shallow (
41- < TreeNode { ...baseProps } label = "Europa" value = "europa" /> ,
42- ) ;
43-
44- assert . isTrue ( wrapper . contains (
45- < span className = "rct-title" > Europa</ span > ,
46- ) ) ;
47- } ) ;
48- } ) ;
49-
5038 describe ( 'checked' , ( ) => {
5139 it ( 'should render icons associated with each check state' , ( ) => {
5240 const iconMap = {
@@ -124,4 +112,16 @@ describe('<TreeNode />', () => {
124112 assert . isTrue ( wrapper . contains ( < i className = "fa fa-folder-o" /> ) ) ;
125113 } ) ;
126114 } ) ;
115+
116+ describe ( 'label' , ( ) => {
117+ it ( 'should render the node\'s label' , ( ) => {
118+ const wrapper = shallow (
119+ < TreeNode { ...baseProps } label = "Europa" value = "europa" /> ,
120+ ) ;
121+
122+ assert . isTrue ( wrapper . contains (
123+ < span className = "rct-title" > Europa</ span > ,
124+ ) ) ;
125+ } ) ;
126+ } ) ;
127127} ) ;
You can’t perform that action at this time.
0 commit comments