Skip to content

testing support #8

Description

@maks

Thank you for such a nice package. I noticed there are no unit tests yet, I'd like to add some, but I think the main blocker to do so at the moment is that it's not possible to pass in DioWrapper as a constructor param to Auth0Client.

I realise that most of the methods don't really have any business logic in them to test, but I think it would be useful in a few places, like passwordGrant() to test that grant_type is set correctly.

Would you be open to changing the Auth0Client API to allow that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions