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([
4646 reload : jasmine . createSpy ( ) ,
4747 getInitCustomerData : function ( ) { }
4848 }
49- } ,
50- totals ;
49+ } ;
5150
5251 afterEach ( function ( ) {
5352 try {
@@ -59,8 +58,7 @@ define([
5958 describe ( 'Test that customer data is reloaded when quote subtotal and cart subtotal are different' , function ( ) {
6059 beforeEach ( function ( done ) {
6160 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 ( ) {
6462 done ( ) ;
6563 } ) ;
6664 } ) ;
@@ -74,8 +72,7 @@ define([
7472 describe ( 'Test that customer data is not reloaded when cart subtotal is NaN' , function ( ) {
7573 beforeEach ( function ( done ) {
7674 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 ( ) {
7976 done ( ) ;
8077 } ) ;
8178 } ) ;
You can’t perform that action at this time.
0 commit comments