Skip to content

Testing with typescript missing interceptor property #3792

@schirrel

Description

@schirrel

Describe the issue

I am develping a platform with typescritp and for testing axios interceptor, as we can found a lot on the web, is used the property handlers but on axios types for typescritp use it is not presente, as you can see here. It is. abad practice to test axios interceptors using handlers or it is in fact missing, and should be presente?

Example Code

Expected behavior, if applicable

To test axios interceptor with handlers

Environment

  • Axios Version [e.g. 0.21.1]
  • Node.js Version [e.g. 14.16]
  • OS: OSX 11.13

Additional context/Screenshots

Add any other context about the problem here. If applicable, add screenshots to help explain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions