remove test code

This commit is contained in:
CarlNation 2024-04-12 10:25:31 -04:00
parent 1a5ed36e97
commit d1219a7643

View file

@ -97,10 +97,6 @@ import { errorMessages } from "@/constants/error-messages";
import store from "@/store";
import { storeActions } from "@/constants/store-actions.js";
import baseMixin from "@/mixins/base-mixin.js";
import { applicationConfig } from "@/constants/application-config.js";
import { getDeviceIdValue } from "@/helpers/heritage-integration/cookie-helper";
import { experimentTriggers } from "@/constants/experiments";
import { getFunnelCookie } from "@/helpers/heritage-integration/cookie-helper";
//define validation rules
@ -132,14 +128,6 @@ export default {
async beforeRouteEnter(to, from, next) {
// Call APIs
if (applicationConfig.CURRENT_ENVIRONMENT === "Localhost") {
storeActions.RUN_EXPERIMENTS_FOR_TRIGGER,
{
userId: getDeviceIdValue(),
triggerEvent: experimentTriggers.PAGE_ENTRY,
triggerValue: "vehicle",
};
}
const cmsContentPromise = fetchCmsContentForPage(to.query.fmgPage);
const experimentForLogging = store.getters.applicationUser.experiments.find(