We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a78a0a commit a9c4e93Copy full SHA for a9c4e93
dev/tests/js/jasmine/tests/app/code/Magento/Checkout/frontend/js/view/billing-address.test.js
@@ -104,5 +104,13 @@ define([
104
expect(checkoutData.setNewCustomerBillingAddress).toHaveBeenCalledWith(lastSelectedBillingAddress);
105
});
106
107
+
108
+ describe('"updateAddress" method', function () {
109
+ it('should call updateAddresses(true) when form is valid', function () {
110
+ spyOn(billingAddress, 'updateAddresses');
111
+ billingAddress.updateAddress();
112
+ expect(billingAddress.updateAddresses).toHaveBeenCalledWith(true);
113
+ });
114
115
116
0 commit comments