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() {
|
export async function navigateToHeritageFunnel() {
|
||||||
|
|
||||||
// Create the order (or save existing order) when navigating to Heritage Funnel.
|
// Create the order (or save existing order) when navigating to Heritage Funnel.
|
||||||
// console.log(exports)
|
|
||||||
// await self.saveOrder();
|
|
||||||
await saveOrder();
|
await saveOrder();
|
||||||
|
|
||||||
router.navigateToExternalUrl(
|
router.navigateToExternalUrl(
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ import baseMixin from "@/mixins/base-mixin";
|
||||||
*/
|
*/
|
||||||
export async function loadOrderIfPresent() {
|
export async function loadOrderIfPresent() {
|
||||||
console.log("attempting to load referral....");
|
console.log("attempting to load referral....");
|
||||||
// const conceptCookie = self.getConceptCookie();
|
|
||||||
const conceptCookie = getConceptCookie();
|
const conceptCookie = getConceptCookie();
|
||||||
|
|
||||||
console.log(conceptCookie)
|
console.log(conceptCookie)
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,6 @@ describe("loadOrderIfPresent", () => {
|
||||||
expect(mocks.baseMixin.methods.dispatchNonBlockingStoreAction).toHaveBeenCalledWith(storeActions.RESET_STATE);
|
expect(mocks.baseMixin.methods.dispatchNonBlockingStoreAction).toHaveBeenCalledWith(storeActions.RESET_STATE);
|
||||||
|
|
||||||
cookieHelper.getConceptCookie.mockRestore();
|
cookieHelper.getConceptCookie.mockRestore();
|
||||||
// store.dispatch.mockRestore();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test("Concept cookie is null => store is unchanged", () => {
|
test("Concept cookie is null => store is unchanged", () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue