File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
app/code/Magento/Checkout/view/frontend/web/js/model/cart
dev/tests/js/jasmine/tests/app/code/Magento/Checkout/frontend/js/model/cart Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -80,5 +80,4 @@ define([
8080 quote . shippingAddress . subscribe ( estimateTotalsAndUpdateRates ) ;
8181 quote . shippingMethod . subscribe ( estimateTotalsShipping ) ;
8282 quote . billingAddress . subscribe ( estimateTotalsBilling ) ;
83- customerData . get ( 'cart' ) . subscribe ( estimateTotalsShipping ) ;
8483} ) ;
Original file line number Diff line number Diff line change @@ -150,12 +150,5 @@ define([
150150 } ) ;
151151 expect ( mocks [ 'Magento_Checkout/js/model/cart/totals-processor/default' ] . estimateTotals ) . toHaveBeenCalled ( ) ;
152152 } ) ;
153-
154- it ( 'test subscribe when cart data was changed' , function ( ) {
155- mocks [ 'Magento_Customer/js/customer-data' ] . get ( 'cart' ) ( {
156- dataId : 2
157- } ) ;
158- expect ( mocks [ 'Magento_Checkout/js/model/cart/totals-processor/default' ] . estimateTotals ) . toHaveBeenCalled ( ) ;
159- } ) ;
160153 } ) ;
161154} ) ;
You can’t perform that action at this time.
0 commit comments