File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
dev/tests/js/jasmine/tests/app/code/Magento/Checkout/frontend/js/model Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,7 @@ define([
46
46
reload : jasmine . createSpy ( ) ,
47
47
getInitCustomerData : function ( ) { }
48
48
}
49
- } ,
50
- totals ;
49
+ } ;
51
50
52
51
afterEach ( function ( ) {
53
52
try {
@@ -59,8 +58,7 @@ define([
59
58
describe ( 'Test that customer data is reloaded when quote subtotal and cart subtotal are different' , function ( ) {
60
59
beforeEach ( function ( done ) {
61
60
injector . mock ( mocks ) ;
62
- injector . require ( [ 'Magento_Checkout/js/model/totals' ] , function ( Totals ) {
63
- totals = Totals ;
61
+ injector . require ( [ 'Magento_Checkout/js/model/totals' ] , function ( ) {
64
62
done ( ) ;
65
63
} ) ;
66
64
} ) ;
@@ -74,8 +72,7 @@ define([
74
72
describe ( 'Test that customer data is not reloaded when cart subtotal is NaN' , function ( ) {
75
73
beforeEach ( function ( done ) {
76
74
injector . mock ( mocksTwo ) ;
77
- injector . require ( [ 'Magento_Checkout/js/model/totals' ] , function ( Totals ) {
78
- totals = Totals ;
75
+ injector . require ( [ 'Magento_Checkout/js/model/totals' ] , function ( ) {
79
76
done ( ) ;
80
77
} ) ;
81
78
} ) ;
You can’t perform that action at this time.
0 commit comments