beforeEach(() => {
mockAxiosFunc.post.mockImplementation((addres) => {
if(addres == XXXX) {
return Promise.resolve({res: XXXX})
}
return Promise.reject(XXXX)
})
})
I checked the relevant code and there does not seem to be a trigger either
New contributor
cindy is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1