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 @@ -47,18 +47,18 @@ describe('InfiniteLoading.vue', () => {
4747
4848 vm . $mount ( ) . $appendTo ( 'body' ) ;
4949
50- expect ( vm . $el . querySelector ( '.icon- loading' ) ) . to . be . ok ;
50+ expect ( vm . $el . querySelector ( '.loading-default ' ) ) . to . be . ok ;
5151 } ) ;
5252
5353 it ( 'should appear a loading animation' , ( done ) => {
5454 vm . onInfinite = function test ( ) {
5555 Vue . nextTick ( ( ) => {
56- expect ( isShow ( vm . $el . querySelector ( '.icon- loading' ) ) ) . to . be . true ;
56+ expect ( isShow ( vm . $el . querySelector ( '.loading-default ' ) ) ) . to . be . true ;
5757
5858 this . $broadcast ( '$InfiniteLoading:loaded' ) ;
5959
6060 Vue . nextTick ( ( ) => {
61- expect ( isShow ( vm . $el . querySelector ( '.icon- loading' ) ) ) . to . be . false ;
61+ expect ( isShow ( vm . $el . querySelector ( '.loading-default ' ) ) ) . to . be . false ;
6262 done ( ) ;
6363 } ) ;
6464 } ) ;
@@ -94,7 +94,7 @@ describe('InfiniteLoading.vue', () => {
9494 vm . onInfinite = function test ( ) {
9595 this . isLoadedAll = true ;
9696 Vue . nextTick ( ( ) => {
97- expect ( vm . $el . querySelector ( '.icon- loading' ) ) . to . not . be . ok ;
97+ expect ( vm . $el . querySelector ( '.loading-default ' ) ) . to . not . be . ok ;
9898 done ( ) ;
9999 } ) ;
100100 } . bind ( vm ) ;
You can’t perform that action at this time.
0 commit comments