add mocks for methods added

This commit is contained in:
Bill Richardson 2024-09-12 13:27:42 -04:00
parent 005223b2fc
commit c05f21eb2c

View file

@ -94,6 +94,8 @@ function getMountedComponent(mainInitialState = {}, initialData = {}, methodToRu
const wrapper = shallowMount(coverageStatement, mountOptions);
wrapper.vm.$refs[CANCEL_CLAIM_REF_NAME].openModal = jest.fn();
wrapper.vm.$refs.siteFooter.disableForwardButton = jest.fn();
wrapper.vm.$refs.siteFooter.enableForwardAction = jest.fn();
return { wrapper };
}