Fix bad copy-paste for comment
This commit is contained in:
parent
f087ffa983
commit
4a97b0bc13
1 changed files with 1 additions and 1 deletions
|
|
@ -41,6 +41,7 @@ function setupMocks({ glassNameProp, glassLocationProp, colorAnswersProp, modelV
|
|||
|
||||
};
|
||||
|
||||
// Mock store
|
||||
const partsOrQuestions = pageData ?? { partsOrQuestions: [{ glassName: 'Stationary', glassLocation: 'Rear', parts: [] }] };
|
||||
useMainStore().pageData = jest.fn();
|
||||
useMainStore().pageData.mockReturnValue(partsOrQuestions);
|
||||
|
|
@ -48,7 +49,6 @@ function setupMocks({ glassNameProp, glassLocationProp, colorAnswersProp, modelV
|
|||
|
||||
const wrapper = shallowMount(glassPartQuestion, mountOptions);
|
||||
|
||||
// Mock store
|
||||
return { wrapper };
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue