X Tutup
Skip to content

In tests, catch errors from rejected promises automatically #5515

@juliemr

Description

@juliemr

For JavaScript unit tests:

Currently, promise rejections are only caught if the promise is returned. We'd like to be able to catch them globally. See #5375 (comment) and the comments below.

Metadata

Metadata

Assignees

Labels

area: testingIssues related to Angular testing features, such as TestBed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup