CSR-2185
estimate unit test case for external parameter
This commit is contained in:
parent
deff080bd2
commit
4e09fe6cae
1 changed files with 4 additions and 3 deletions
|
|
@ -215,9 +215,10 @@ describe("estimate.vue", () => {
|
||||||
|
|
||||||
describe("estimate.vue", () => {
|
describe("estimate.vue", () => {
|
||||||
test("should call forwardButtonAction if isExternalParameter is true and form is valid", async () => {
|
test("should call forwardButtonAction if isExternalParameter is true and form is valid", async () => {
|
||||||
store.commit(storeMutations.UPDATE_IS_EXTERNAL_PARAMETER, true);
|
store.getters = {
|
||||||
store.commit(storeMutations.UPDATE_EXTERNAL_PARAMETER_VIN_SELECTION, "decline");
|
isExternalParameter: true,
|
||||||
|
externalParameterEstimate: { vinSelection: "decline" },
|
||||||
|
};
|
||||||
// Set up the component
|
// Set up the component
|
||||||
const { wrapper } = setupMocks({});
|
const { wrapper } = setupMocks({});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue