Jest to test HTML String

How do I test a HTML string using Jest? Right now, I am doing it using regular string comparison like below. When I run this test case, it works fine. it(‘should compile partial as per the context’, …

Mock inner axios.create()

I’m using jest and axios-mock-adapter to test axios API calls in redux async action creators. I can’t make them work when I’m using a axios instance that was created with axios.create() as such: …