final fixes
This commit is contained in:
parent
383d93e561
commit
0603c37adc
2 changed files with 3 additions and 7 deletions
|
|
@ -2,17 +2,13 @@
|
||||||
import tpaConfirmation from '@/layouts/tpa-confirmation/tpa-confirmation.vue';
|
import tpaConfirmation from '@/layouts/tpa-confirmation/tpa-confirmation.vue';
|
||||||
|
|
||||||
// Supporting Files
|
// Supporting Files
|
||||||
// import baseMixin from '@/mixins/base-mixin';
|
|
||||||
import { getMountOptions } from '@/helpers/unit-test-helper.js';
|
import { getMountOptions } from '@/helpers/unit-test-helper.js';
|
||||||
// import navigationScenarios from '@/router/router-constants/navigation-scenarios.js';
|
|
||||||
import { useMainStore } from '@/store/index.js';
|
import { useMainStore } from '@/store/index.js';
|
||||||
import settleAllPromises from '@/helpers/layout-helper.js';
|
import settleAllPromises from '@/helpers/layout-helper.js';
|
||||||
import { fetchCmsContentForPage } from '@/helpers/cms-content-helper';
|
import { fetchCmsContentForPage } from '@/helpers/cms-content-helper';
|
||||||
import { mount } from '@vue/test-utils';
|
import { mount } from '@vue/test-utils';
|
||||||
import { createTestingPinia } from '@pinia/testing';
|
import { createTestingPinia } from '@pinia/testing';
|
||||||
import userEvent from '@testing-library/user-event';
|
|
||||||
import bailoutMessage from '@/constants/bailoutMessage';
|
import bailoutMessage from '@/constants/bailoutMessage';
|
||||||
import { render } from '@testing-library/vue';
|
|
||||||
|
|
||||||
jest.mock('@/helpers/layout-helper.js', () => jest.fn());
|
jest.mock('@/helpers/layout-helper.js', () => jest.fn());
|
||||||
|
|
||||||
|
|
@ -328,10 +324,10 @@ describe('TPAConfirmation.vue', () => {
|
||||||
};
|
};
|
||||||
const { wrapper } = getMountedComponent(initialStore);
|
const { wrapper } = getMountedComponent(initialStore);
|
||||||
const argument = 'verifyingCoverage';
|
const argument = 'verifyingCoverage';
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
const result = wrapper.vm.getCustomValueFromString(argument);
|
const result = wrapper.vm.getCustomValueFromString(argument);
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
expect(result).toBe(expected);
|
expect(result).toBe(expected);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -173,7 +173,7 @@ export default {
|
||||||
carrierName() {
|
carrierName() {
|
||||||
return this.mainStore.issConfig.clientName;
|
return this.mainStore.issConfig.clientName;
|
||||||
},
|
},
|
||||||
// TODO: Replace with actual carrier homepage URL
|
// TODO: Replace with actual carrier URL
|
||||||
carrierUrl() {
|
carrierUrl() {
|
||||||
return '//www.libertymutual.com';
|
return '//www.libertymutual.com';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue