Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

angular.mock.$ExceptionHandlerProvider Provide mode logAndRethrow #10540

Closed
@DavidSouther

Description

@DavidSouther

https://github.com/angular/angular.js/blob/master/src/ngMock/angular-mocks.js#L253

Currently, test exceptions can either log or rethrow. There are cases where the throw behavior is expected by the implementation, but it would also be nice to have a log available. In these situations, a logAndThrow behavior would ease having two different code flows.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions