diff --git a/jest.config.js b/jest.config.js index f6178df61..33b7d1138 100644 --- a/jest.config.js +++ b/jest.config.js @@ -28,4 +28,6 @@ module.exports = { // Got the go ahead from Mark to temporarily lower this. Taking out initialize component made the year,make,model and style coverage drop a bit. Once unit tests for license plate lookup, vin lookup and address lookup are in the coverage should go back up to 90 }, }, + // Uncomment this to avoid the massive amount of warnings we are getting for onSubmit and onInvalidSubmit + // silent: true, }; diff --git a/src/constants/endpoints.js b/src/constants/endpoints.js index ef94c7b18..7b482bb54 100644 --- a/src/constants/endpoints.js +++ b/src/constants/endpoints.js @@ -94,7 +94,7 @@ const endpoints = { url: "/location/api/v1/location/alert-reasons", method: "GET", }, - GetProviderLocations: { + GetProviders: { url: "/location/api/v1/location/providers", method: "GET", }, diff --git a/src/constants/store-actions.js b/src/constants/store-actions.js index 3edf8bec3..0ff37b44a 100644 --- a/src/constants/store-actions.js +++ b/src/constants/store-actions.js @@ -32,7 +32,7 @@ const storeActions = { GET_MOLDING_QUESTIONS: "getMoldingQuestions", GET_MOBILE_FEE_PART: "getMobileFeePart", GET_SERVICEABILITY_DETAILS: "getServiceabilityDetails", - GET_PROVIDER_LOCATIONS: "getProviderLocations", + GET_PROVIDERS: "getProviders", SAVE_SESSION: "saveSession", LOAD_SESSION: "loadSession", UPDATE_STORE_WITH_SAVE_SESSION_RESPONSE: "updateStoreWithSaveSessionResponse", diff --git a/src/digital-components/button-question/button-question.vue b/src/digital-components/button-question/button-question.vue index e98ef2901..08ec4867d 100644 --- a/src/digital-components/button-question/button-question.vue +++ b/src/digital-components/button-question/button-question.vue @@ -121,7 +121,7 @@ export default { isOverflowScrollable: Boolean, isWide: Boolean, isCashOrInsurance: Boolean, - modelValue: [Array, Number, String], + modelValue: [Array, Number, String, Object], value: [Number, String], validationRules: String, suppressError: Boolean, @@ -129,7 +129,6 @@ export default { valueToLogType: String, additionalButtonStyling: String, isSmallQuestionText: Boolean, - availability: String, customButtonQuestionId: String, logDisplayedValuesEvent: { type: Boolean, diff --git a/src/fmg-components/funnel-header/menu-modal/menu-modal.vue b/src/fmg-components/funnel-header/menu-modal/menu-modal.vue index ccf2c38e0..55ff95c48 100644 --- a/src/fmg-components/funnel-header/menu-modal/menu-modal.vue +++ b/src/fmg-components/funnel-header/menu-modal/menu-modal.vue @@ -66,6 +66,7 @@