CSR-691 Cleanup

This commit is contained in:
Katie 2022-06-14 09:47:41 -04:00
parent 15787aeb0d
commit 692c9dc205

View file

@ -680,19 +680,18 @@ describe("address-lookup.vue", () => {
}
})
console.log(wrapper.vm.dispatchStoreAction(storeActions.VALIDATE_ZIP))
await wrapper.vm.forwardButtonAction();
// await wrapper.setData({
// serviceZipCode: "12345"
// })
await wrapper.setData({
serviceZipCode: "12345"
})
// // Act
// await wrapper.vm.forwardButtonAction();
await wrapper.vm.forwardButtonAction();
// // Assert
// expect(store.getters.order.serviceLocation.zipCode).not.toEqual(store.getters.vehicle.registration.zipCode);
// expect(store.getters.vehicle.registration.zipCode).toEqual("43215");
// expect(store.getters.order.serviceLocation.zipCode).toEqual("12345");
expect(store.getters.order.serviceLocation.zipCode).not.toEqual(store.getters.vehicle.registration.zipCode);
expect(store.getters.vehicle.registration.zipCode).toEqual("43215");
expect(store.getters.order.serviceLocation.zipCode).toEqual("12345");
});
});
});