CSR-691 Cleanup
This commit is contained in:
parent
15787aeb0d
commit
692c9dc205
1 changed files with 7 additions and 8 deletions
|
|
@ -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");
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue