CSR-98 Remove commented code
This commit is contained in:
parent
a04c482ecd
commit
87820950ae
3 changed files with 1 additions and 5 deletions
|
|
@ -60,8 +60,6 @@ export async function getPageToRouteExistingOrderTo(toRoute = {}, existingHerita
|
|||
export async function navigateToHeritageFunnel() {
|
||||
|
||||
// Create the order (or save existing order) when navigating to Heritage Funnel.
|
||||
// console.log(exports)
|
||||
// await self.saveOrder();
|
||||
await saveOrder();
|
||||
|
||||
router.navigateToExternalUrl(
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ import baseMixin from "@/mixins/base-mixin";
|
|||
*/
|
||||
export async function loadOrderIfPresent() {
|
||||
console.log("attempting to load referral....");
|
||||
// const conceptCookie = self.getConceptCookie();
|
||||
const conceptCookie = getConceptCookie();
|
||||
|
||||
console.log(conceptCookie)
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ describe("loadOrderIfPresent", () => {
|
|||
expect(mocks.baseMixin.methods.dispatchNonBlockingStoreAction).toHaveBeenCalledWith(storeActions.RESET_STATE);
|
||||
|
||||
cookieHelper.getConceptCookie.mockRestore();
|
||||
// store.dispatch.mockRestore();
|
||||
});
|
||||
|
||||
test("Concept cookie is null => store is unchanged", () => {
|
||||
|
|
@ -144,7 +143,7 @@ describe("saveOrder", () => {
|
|||
|
||||
// Act
|
||||
await saveOrder();
|
||||
|
||||
|
||||
// Assert
|
||||
expect(cookieHelper.getConceptCookie().DidHeritageFunnelUpdateLast).toEqual(false);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue