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', () => {
47
47
48
48
vm . $mount ( ) . $appendTo ( 'body' ) ;
49
49
50
- expect ( vm . $el . querySelector ( '.icon- loading' ) ) . to . be . ok ;
50
+ expect ( vm . $el . querySelector ( '.loading-default ' ) ) . to . be . ok ;
51
51
} ) ;
52
52
53
53
it ( 'should appear a loading animation' , ( done ) => {
54
54
vm . onInfinite = function test ( ) {
55
55
Vue . nextTick ( ( ) => {
56
- expect ( isShow ( vm . $el . querySelector ( '.icon- loading' ) ) ) . to . be . true ;
56
+ expect ( isShow ( vm . $el . querySelector ( '.loading-default ' ) ) ) . to . be . true ;
57
57
58
58
this . $broadcast ( '$InfiniteLoading:loaded' ) ;
59
59
60
60
Vue . nextTick ( ( ) => {
61
- expect ( isShow ( vm . $el . querySelector ( '.icon- loading' ) ) ) . to . be . false ;
61
+ expect ( isShow ( vm . $el . querySelector ( '.loading-default ' ) ) ) . to . be . false ;
62
62
done ( ) ;
63
63
} ) ;
64
64
} ) ;
@@ -94,7 +94,7 @@ describe('InfiniteLoading.vue', () => {
94
94
vm . onInfinite = function test ( ) {
95
95
this . isLoadedAll = true ;
96
96
Vue . nextTick ( ( ) => {
97
- expect ( vm . $el . querySelector ( '.icon- loading' ) ) . to . not . be . ok ;
97
+ expect ( vm . $el . querySelector ( '.loading-default ' ) ) . to . not . be . ok ;
98
98
done ( ) ;
99
99
} ) ;
100
100
} . bind ( vm ) ;
You can’t perform that action at this time.
0 commit comments