axios interceptor code is not covered in jest

84 Views Asked by At

When running jest test having Axios interceptor mocks the code is not covered for interceptor

The Axios code:

The Axios code

jest tests enter image description here

The code coverage enter image description here

I want 100% code coverage but interceptor code is not covered here

0

There are 0 best solutions below