This repository was archived by the owner on Feb 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -116,25 +116,25 @@ describe('BlockUi', function() {
116
116
117
117
describe ( 'the loader' , ( ) => {
118
118
it ( 'should append the Loader' , ( ) => {
119
- const message = shallow ( < BlockUi blocking > Yo!</ BlockUi > ) . childAt ( 2 ) . childAt ( 1 ) . childAt ( 0 ) . childAt ( 0 ) ;
119
+ const message = shallow ( < BlockUi blocking > Yo!</ BlockUi > ) . childAt ( 2 ) . childAt ( 1 ) . childAt ( 0 ) . childAt ( 1 ) . childAt ( 0 ) ;
120
120
121
121
expect ( message . type ( ) ) . to . equal ( Loader ) ;
122
122
} ) ;
123
123
124
124
it ( 'should append a custom Loader (element) if provided' , ( ) => {
125
- const message = shallow ( < BlockUi blocking loader = { < span /> } > Yo!</ BlockUi > ) . childAt ( 2 ) . childAt ( 1 ) . childAt ( 0 ) . childAt ( 0 ) ;
125
+ const message = shallow ( < BlockUi blocking loader = { < span /> } > Yo!</ BlockUi > ) . childAt ( 2 ) . childAt ( 1 ) . childAt ( 0 ) . childAt ( 1 ) . childAt ( 0 ) ;
126
126
127
127
expect ( message . type ( ) ) . to . equal ( 'span' ) ;
128
128
} ) ;
129
129
130
130
it ( 'should append a custom Loader (string) if provided' , ( ) => {
131
- const message = shallow ( < BlockUi blocking loader = "span" > Yo!</ BlockUi > ) . childAt ( 2 ) . childAt ( 1 ) . childAt ( 0 ) . childAt ( 0 ) ;
131
+ const message = shallow ( < BlockUi blocking loader = "span" > Yo!</ BlockUi > ) . childAt ( 2 ) . childAt ( 1 ) . childAt ( 0 ) . childAt ( 1 ) . childAt ( 0 ) ;
132
132
133
133
expect ( message . type ( ) ) . to . equal ( 'span' ) ;
134
134
} ) ;
135
135
136
136
it ( 'should append a custom Loader (component) if provided' , ( ) => {
137
- const message = shallow ( < BlockUi blocking loader = { Loader } > Yo!</ BlockUi > ) . childAt ( 2 ) . childAt ( 1 ) . childAt ( 0 ) . childAt ( 0 ) ;
137
+ const message = shallow ( < BlockUi blocking loader = { Loader } > Yo!</ BlockUi > ) . childAt ( 2 ) . childAt ( 1 ) . childAt ( 0 ) . childAt ( 1 ) . childAt ( 0 ) ;
138
138
139
139
expect ( message . type ( ) ) . to . equal ( Loader ) ;
140
140
} ) ;
You can’t perform that action at this time.
0 commit comments