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', () => {
102102 vm . $mount ( ) . $appendTo ( 'body' ) ;
103103 } ) ;
104104
105- it ( 'should display no results tips ' , ( done ) => {
105+ it ( 'should display no results prompt ' , ( done ) => {
106106 vm . onInfinite = function test ( ) {
107107 this . $broadcast ( '$InfiniteLoading:noResults' ) ;
108108 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 ;
110110 done ( ) ;
111111 } ) ;
112112 } . bind ( vm ) ;
113113
114114 vm . $mount ( ) . $appendTo ( 'body' ) ;
115115 } ) ;
116116
117- it ( 'should display no more data tips ' , ( done ) => {
117+ it ( 'should display no more data prompt ' , ( done ) => {
118118 vm . onInfinite = function test ( ) {
119119 this . $broadcast ( '$InfiniteLoading:noMore' ) ;
120120 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 ;
122122 done ( ) ;
123123 } ) ;
124124 } . bind ( vm ) ;
You can’t perform that action at this time.
0 commit comments