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 @@ -102,23 +102,23 @@ describe('InfiniteLoading.vue', () => {
102
102
vm . $mount ( ) . $appendTo ( 'body' ) ;
103
103
} ) ;
104
104
105
- it ( 'should display no results tips ' , ( done ) => {
105
+ it ( 'should display no results prompt ' , ( done ) => {
106
106
vm . onInfinite = function test ( ) {
107
107
this . $broadcast ( '$InfiniteLoading:noResults' ) ;
108
108
Vue . nextTick ( ( ) => {
109
- expect ( isShow ( vm . $el . querySelectorAll ( '.infinite-status-tips ' ) [ 0 ] ) ) . to . be . true ;
109
+ expect ( isShow ( vm . $el . querySelectorAll ( '.infinite-status-prompt ' ) [ 0 ] ) ) . to . be . true ;
110
110
done ( ) ;
111
111
} ) ;
112
112
} . bind ( vm ) ;
113
113
114
114
vm . $mount ( ) . $appendTo ( 'body' ) ;
115
115
} ) ;
116
116
117
- it ( 'should display no more data tips ' , ( done ) => {
117
+ it ( 'should display no more data prompt ' , ( done ) => {
118
118
vm . onInfinite = function test ( ) {
119
119
this . $broadcast ( '$InfiniteLoading:noMore' ) ;
120
120
Vue . nextTick ( ( ) => {
121
- expect ( isShow ( vm . $el . querySelectorAll ( '.infinite-status-tips ' ) [ 1 ] ) ) . to . be . true ;
121
+ expect ( isShow ( vm . $el . querySelectorAll ( '.infinite-status-prompt ' ) [ 1 ] ) ) . to . be . true ;
122
122
done ( ) ;
123
123
} ) ;
124
124
} . bind ( vm ) ;
You can’t perform that action at this time.
0 commit comments