How to mock axios call?

unit-testing

#1

Hi
How to mock api call for jovo ?
it seems now axios is include in jovo.
and I wish, use jest.mock(‘axios’);

● Test suite failed to run

Cannot find module 'HttpService' from 'test/state.test.js'

> 12 | jest.mock("HttpService");

#2

The Jest docs are a great starting point for this: https://jestjs.io/docs/en/mock-functions